Skip to content
violet · cool

#eee8fa

a pale, vivid violet · cool · closest name: Lavender

Token name suggestion: Chalk Iris

RGB
238, 232, 250
HSL
260°, 64%, 95%
CMYK
5, 7, 0, 2
Luminance
0.8279

#eee8fa is a pale vivid violet, 260° on the wheel and 72/100 on the cool side. Put black text on it (17.56:1). As text it scores 1.20:1 on white — use #855ADB instead. Nearest name is Lavender, nearest Tailwind family is zinc.

hsl(260 64% 95%)rgb(238 232 250)Base step 100AAA inkCool

At a glance

Every number on this page in one read: what #eee8fa is made of, how bright it looks, and which way it leans.

Hex
#eee8fa
Hue
260°
violet
Saturation
64%
vivid
Lightness
95%
pale
Brightness
98%
HSV value
Perceived
93%
weighted brightness
Luminance
0.8279
WCAG relative
Temperature
Cool
72/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
17.56:1
Closest name
Lavender
ΔE2000 2.7
Chroma
9.6
LCH, 0–130ish
OKLCH L
0.941
perceptual lightness
Tailwind
zinc
500 · ΔE 34.9
Web-safe
#FFFFFF
nearest of 216
Where it sits
Hue260° of 360°
Saturation64%
Lightness95%
Saturation × lightness field

Left edge is grey, right edge is full chroma; top is white, bottom is black. The dot is #eee8fa.

Temperature
Warm ← → Cool72% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Luminance by channel
Red22%
Green70%
Blue8%

Green carries most of what the eye calls brightness — that is why WCAG weights it 0.7152.

Every format

HEX#eee8fa
HEX (8-digit)#eee8faff
RGBrgb(238, 232, 250)
RGBArgba(238, 232, 250, 1)
HSLhsl(260, 64%, 95%)
HSV / HSBhsv(260, 7%, 98%)
HWBhwb(260 91% 2%)
CMYKcmyk(5%, 7%, 0%, 2%)
LABlab(92.9 5.3 -8.0)
LCHlch(92.9 9.6 303.4)
OKLCHoklch(0.941 0.025 301.1)
XYZ (D65)xyz(81.37, 82.79, 102.12)
Decimal15657210
Display P3color(display-p3 0.933 0.910 0.980)
Web-safe#FFFFFF

Copy-ready code

every platformclick to select
/* CSS */
color: #eee8fa;
background-color: #eee8fa;
/* CSS custom property */
--brand: #eee8fa;
/* Tailwind (arbitrary) */
class="text-[#eee8fa] bg-[#eee8fa]"
/* SCSS */
$brand: #eee8fa;
/* SwiftUI */
Color(red: 0.933, green: 0.910, blue: 0.980)
/* UIKit */
UIColor(red: 0.933, green: 0.910, blue: 0.980, alpha: 1)
/* Android XML */
<color name="brand">#EEE8FA</color>
/* Android Compose */
Color(0xFFEEE8FA)
/* Flutter */
Color(0xFFEEE8FA)
/* Python / OpenCV (BGR) */
(250, 232, 238)
/* Python / PIL (RGB) */
(238, 232, 250)
/* Java AWT */
new Color(238, 232, 250)
/* .NET */
Color.FromArgb(255, 238, 232, 250)
/* OpenGL / Unity (0–1) */
(0.9333f, 0.9098f, 0.9804f, 1f)
/* LaTeX */
\definecolor{brand}{RGB}{238,232,250}
modern cssclick to select
/* mix without leaving CSS */
background: color-mix(in oklab, #eee8fa 85%, white);
border-color: color-mix(in oklab, #eee8fa 40%, transparent);
/* theme-aware in one line */
color: light-dark(#321769, #DCD3EE);
/* relative colour syntax */
--hover: hsl(from #eee8fa h s calc(l - 7));

Design tokens

The same ramp in the four formats a team actually needs. Paste one and the whole palette lands with it.

css custom propertiesclick to select
:root {
  --brand-50: #F6F4FB;
  --brand-100: #eee8fa;
  --brand-200: #D8CBF1;
  --brand-300: #BBA3EB;
  --brand-400: #9975E1;
  --brand-500: #7747D7;
  --brand-600: #602CC9;
  --brand-700: #5024A8;
  --brand-800: #401D86;
  --brand-900: #311961;
  --brand-950: #1F103D;
  --brand: #eee8fa;
  --brand-ink: #000000;
  --brand-surface: #F6F4FA;
  --brand-border: #CFC0ED;
  --brand-hover: #D8CBF4;
  --brand-pressed: #C3ADED;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand-surface: #191424;
    --brand-ink: #DCD3EE;
  }
}
tailwind.config.jsclick to select
theme: {
  extend: {
    colors: {
      brand: {
        50: '#F6F4FB',
        100: '#eee8fa',
        200: '#D8CBF1',
        300: '#BBA3EB',
        400: '#9975E1',
        500: '#7747D7',
        600: '#602CC9',
        700: '#5024A8',
        800: '#401D86',
        900: '#311961',
        950: '#1F103D',
        DEFAULT: '#eee8fa',
      },
    },
  },
}
scss mapclick to select
$brand: (
  '50': #F6F4FB,
  '100': #eee8fa,
  '200': #D8CBF1,
  '300': #BBA3EB,
  '400': #9975E1,
  '500': #7747D7,
  '600': #602CC9,
  '700': #5024A8,
  '800': #401D86,
  '900': #311961,
  '950': #1F103D,
);
$brand-base: #eee8fa;
$brand-ink: #000000;

@function brand($step) { @return map-get($brand, $step); }
w3c design tokens (json)click to select
{
  "color": {
    "brand": {
      "50": { "$value": "#F6F4FB", "$type": "color" },
      "100": { "$value": "#eee8fa", "$type": "color" },
      "200": { "$value": "#D8CBF1", "$type": "color" },
      "300": { "$value": "#BBA3EB", "$type": "color" },
      "400": { "$value": "#9975E1", "$type": "color" },
      "500": { "$value": "#7747D7", "$type": "color" },
      "600": { "$value": "#602CC9", "$type": "color" },
      "700": { "$value": "#5024A8", "$type": "color" },
      "800": { "$value": "#401D86", "$type": "color" },
      "900": { "$value": "#311961", "$type": "color" },
      "950": { "$value": "#1F103D", "$type": "color" }
    },
    "brandInk": { "$value": "#000000", "$type": "color" }
  }
}

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #eee8fa · 17.56:1
Use #000000AAA at every size.
Aa
12px
Aa
16px
Aa
24px
Aa
White text · 1.20:1
AA fail · AA large fail · AAA fail
Aa
Black text · 17.56:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #eee8fa as text scores 1.20:1 on white and 17.56:1 on black.
Best tinted ink on it, if plain black or white feels flat: #321769 at 12.01:1.

Make it accessible

A contrast checker tells you that you failed. This tells you what to ship instead — same hue, same saturation, lightness moved only as far as WCAG demands.

The quick fox
#855ADB · 4.68:1
AA on white−34% L
#855ADB
The quick fox
#6630D2 · 7.20:1
AAA on white−44% L
#6630D2
The quick fox
#eee8fa · 17.56:1
AA on blackalready passes
#eee8fa
The quick fox
#eee8fa · 17.56:1
AAA on blackalready passes
#eee8fa

Large text — 24px regular or 18.66px bold and above — only needs 3:1, so #A483E4 is enough for headings on white. Non-text elements such as icons, chart strokes and focus rings also sit at 3:1 under WCAG 2.2 (1.4.11).

Accessibility — WCAG contrast

Aa
#eee8fa on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#eee8fa on black: 17.56:1
AA ✓ pass · AA-large · AAA
Against the neutral ladder

Contrast is symmetric, so each row covers both directions: #eee8fa as text on that neutral, and that neutral as text on #eee8fa.

NeutralRatioBoth directions
White1.20:1AaAa
Slate 501.14:1AaAa
Slate 1001.09:1AaAa
Slate 2001.03:1AaAa
Slate 3001.24:1AaAa
Slate 4002.14:1AaAa
Slate 5003.98:1AaAa
Slate 6006.34:1AaAa
Slate 7008.66:1AaAa
Slate 80012.23:1AaAa
Slate 90014.93:1AaAa
Black17.56:1AaAa
Colour vision deficiency
true color
protanopia · #E5EBFB
deuteranopia · #E6EBF9
tritanopia · #ECEAEE

Roughly one man in twelve has some form of colour vision deficiency. If any of the three panels above is hard to tell apart from a neighbouring colour in your palette, add a shape, an icon or a label so the meaning does not rest on hue alone.

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #eee8fa is pinned to step 100; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F6F4FB
#eee8fa
#D8CBF1
#BBA3EB
#9975E1
#7747D7
#602CC9
#5024A8
#401D86
#311961
#1F103D
Base = 100Lightest = 50 · #F6F4FBDarkest = 950 · #1F103DText step on white = 500
Perceptual ramp — OKLCH

The same eleven steps expressed in OKLCH, where equal lightness numbers actually look equally spaced. HSL ramps go muddy in the yellows and washed out in the blues; this one does not. Modern browsers render it natively — the hex ramp above is the fallback.

50100200300400500600700800900950
oklch tokensclick to select
:root {
  --brand-50: oklch(0.97 0.006 301.1);
  --brand-100: oklch(0.94 0.010 301.1);
  --brand-200: oklch(0.88 0.015 301.1);
  --brand-300: oklch(0.80 0.019 301.1);
  --brand-400: oklch(0.72 0.023 301.1);
  --brand-500: oklch(0.64 0.025 301.1);
  --brand-600: oklch(0.56 0.025 301.1);
  --brand-700: oklch(0.48 0.023 301.1);
  --brand-800: oklch(0.40 0.021 301.1);
  --brand-900: oklch(0.32 0.017 301.1);
  --brand-950: oklch(0.24 0.014 301.1);
}

Colors that work with #eee8fa

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F6F4FA
Tinted page background
Border#CFC0ED
Hairlines and dividers
Muted text#654B9B
Captions on the surface
Accent#A0AF1D
Second voice, not a rival
Dark variant#321769
Hover, pressed, headers
Light variant#F0EAFA
Selected rows, tints
Dark surface#191424
Dark-mode background
Hover#D8CBF4
One step down in lightness
Pressed#C3ADED
Two steps down
Disabled#F4F3F7
Chroma pulled out
Focus ring#E6DBFA
Offset from the fill so it reads
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

In real components

The same eight roles, wired into the interface patterns you will actually build with them. Every state below is a computed value, not a mock-up.

Buttons and states
Save changesHoverPressedDisabled
OutlineSubtleLinkFocused
Form field
you@company.com

Focus ring uses the light variant so the field still reads as one shape.

Send me product updates
Notice
Your export is ready

The file stays available for seven days. Download it before it expires.

NewBetaDraft
Data
Storage used68%
Acme LtdActive
NorthwindTrial
GlobexActive

How to use #eee8fa

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate
Minimum size as text on white
Not as text
Safe as a fill behind white type
No — use #321769
Safe as a 1px border on white
No — use #A483E4

Meaning and mood

What a colour in this family tends to signal, and how this particular chroma and lightness change the reading.

creativepremiummodernimaginative

Violet sits between the warmth of red and the calm of blue, so it reads as inventive without reading as risky. Current shorthand for software craft.

This is a confident chroma: strong enough to lead a brand, restrained enough to live in an interface all day. The high lightness makes it recede — a surface colour rather than a statement.

Worth knowing

Deep violets swallow detail on screens with poor gamma; check it on a cheap laptop panel.

Reads as
  • FormalityMedium
  • EnergyMedium-high
  • Weight6/100
  • TemperatureCool
  • ApproachabilityReserved

Colour associations are cultural and vary by market. Treat these as a starting point for a conversation with your audience, not a finding about them.

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#F4FAE8
Analogous left#E8EBFA
Analogous right#F7E8FA
Split-complement 1#FAF7E8
Split-complement 2#EBFAE8
Triadic 1#FAEEE8
Triadic 2#E8FAEE
Tetradic#FAE8EB
On the wheel
Base+30°−30°+120°+240°+180°260°

#eee8fa sits at 260°. Every dot is a harmony position and links to its own page in the table alongside.

RGB percentages

Red93.3%
Green91.0%
Blue98.0%
R · 0–255
238
0xee
G · 0–255
232
0xe8
B · 0–255
250
0xfa

CMYK percentages

Cyan4.8%
Magenta7.2%
Yellow0.0%
Key (black)2.0%

Total ink coverage is 14%. Most commercial presses cap around 300% — above that, sheets stop drying properly.

Color previews

#eee8fa text on a black background

contrast 17.56:1

Card sample

#eee8fa text on a white background

contrast 1.20:1

Card sample

#eee8fa on grey

1.09:1

#eee8fa on its own surface

1.10:1

#eee8fa on its dark surface

15.05:1

CSS3 live lab

Text font color

The quick brown fox

color: #eee8fa;
Background color
Panel with #eee8fa background
background-color: #eee8fa;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #eee8fa;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(238, 232, 250, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(238, 232, 250, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eee8fa;
background: linear-gradient(135deg, #eee8fa, #FAE8FA);
Gradient text

Gradient headline

background: linear-gradient(90deg, #eee8fa, #FAE8F5);
-webkit-background-clip: text;
color: transparent;
Focus ring
Focused control
outline: 2px solid #eee8fa;
outline-offset: 3px;
Underline & caret

Marked up text

text-decoration-color: #eee8fa;
caret-color: #eee8fa;
Left rule
Pull quote or callout
border-left: 4px solid #eee8fa;
Ring + tint
Selected chip
background: #F0EAFA;
box-shadow: inset 0 0 0 2px #eee8fa;
Conic badge
68%
background: conic-gradient(#eee8fa 68%, #e2e8f0 0);

Transparency

What each alpha value actually composites to. The top row is #eee8fa over white; the bottom row is the same alpha over a checkerboard, so you can see what survives on a photo or a video.

Bottom row of hexes is the flattened result over white — use those when a design tool refuses transparency, or when you need a solid fallback.

alpha in every syntaxclick to select
rgba(238, 232, 250, 0.5)
rgb(238 232 250 / 50%)
#eee8fa80
hsl(260 64% 95% / 50%)
color-mix(in srgb, #eee8fa 50%, transparent)
Alpha8-digit hexFlat on white
10%#eee8fa1a#FDFDFF
20%#eee8fa33#FCFAFE
40%#eee8fa66#F8F6FD
60%#eee8fa99#F5F1FC
80%#eee8facc#F1EDFB

Gradients from #eee8fa

Six recipes, each built from this hex and shown with the exact CSS that produced it.

Elevation
Same hue, three lightnesses — safe anywhere
background: linear-gradient(135deg, #F3EEFB, #eee8fa 45%, #321769);
Duotone
A short hue run reads richer than a flat fill
background: linear-gradient(120deg, #eee8fa, #F5CFF1);
Complement sweep
Loud — keep it behind large type only
background: linear-gradient(90deg, #eee8fa, #F4FAE8);
Spotlight
Hero panels and app headers
background: radial-gradient(120% 120% at 20% 0%, #F6F2FC 0%, #eee8fa 45%, #321769 100%);
Soft wash
Section backgrounds that stay readable
background: linear-gradient(180deg, #F6F4FA, #ffffff);
Mesh
Ambient background, no image weight
background: radial-gradient(60% 60% at 15% 20%, #FFFFFF 0%, transparent 60%), radial-gradient(55% 55% at 85% 15%, #FFFFFF 0%, transparent 60%), radial-gradient(70% 70% at 50% 95%, #321769 0%, transparent 65%), #eee8fa;

Monochromatic scale

Palettes built from #eee8fa

Shades — darker

Tints — lighter

Tones — desaturated

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#eee8fa in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Very light tints can drop out on uncoated stock; check it at 100% size before signing off.

On screens

Holds up across typical panel gamma. Still worth checking on an uncalibrated laptop, where mid-tones shift most.

In dark mode

Usable as-is on a dark surface at 17.56:1.

Explore nearby colors

Small, deliberate steps away from this hex — useful when you are hunting for the version of a colour that finally feels right.

#eee8fa, answered

What color is #eee8fa?

#eee8fa is a pale vivid violet, closest to Lavender (ΔE2000 2.7). It sits at 260° on the hue wheel with 64% saturation and 95% lightness, which reads as cool.

What is the RGB value of #eee8fa?

rgb(238, 232, 250) — 238 red, 232 green and 250 blue out of 255, or 93.3% / 91% / 98% by channel.

What is #eee8fa in HSL and HSV?

hsl(260, 64%, 95%) and hsv(260, 7%, 98%). HSL is what CSS takes; HSV is what your design tool's picker shows, which is why the saturation numbers rarely match.

Is #eee8fa a light or a dark color?

It is a light color. Relative luminance is 0.8279 and perceived brightness is 93%, so black text on it reaches 17.56:1.

Should I use black or white text on #eee8fa?

Black. It scores 17.56:1 against #eee8fa, versus 1.20:1 for white — AAA at any size.

Is #eee8fa accessible on a white background?

#eee8fa on white scores 1.20:1, which fails WCAG AA at every size. Darken it to #855ADB to reach 4.5:1, or #6630D2 for 7:1.

What is the complementary color of #eee8fa?

#F4FAE8 sits directly opposite on the wheel. Softer options are the split-complements #FAF7E8 and #EBFAE8, which give the same contrast with far less vibration.

What colors go well with #eee8fa?

For interface work: #F6F4FA as the surface, #CFC0ED for borders, #654B9B for secondary text, #A0AF1D as an accent and #321769 for hover and pressed states. For a palette, the analogous pair #E8EBFA and #F7E8FA stays calm, while #F4FAE8 is the loudest partner.

What is #eee8fa in CMYK for printing?

cmyk(5%, 7%, 0%, 2%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #eee8fa warm or cool?

Cool — it scores 72 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F5E8FA; nudged cooler, #E8E8FA.

Which Tailwind color is closest to #eee8fa?

The zinc family — its 500 step is #71717a, ΔE2000 34.9 away. That is a visible difference, so define #eee8fa as a custom token rather than reaching for the built-in.

How do I use #eee8fa in Tailwind CSS?

Inline it as an arbitrary value with bg-[#eee8fa] or text-[#eee8fa], or register the whole ramp under theme.extend.colors.brand so you get bg-brand-500 and friends. The generated 50–950 scale on this page is ready to paste into your config.

What is #eee8fa with 50% opacity?

rgba(238, 232, 250, 0.5), or #eee8fa80 in eight-digit hex. Over white that composites to #F7F4FD; over black, #77747D.

Is #eee8fa a web-safe color?

No. The nearest web-safe colour is #FFFFFF, ΔE2000 9.9 away. The palette only matters for legacy displays and some email clients now.

What does the color #eee8fa mean?

As a violet, it reads creative, premium, modern. Violet sits between the warmth of red and the calm of blue, so it reads as inventive without reading as risky. Current shorthand for software craft. At this chroma the effect is amplified — it will dominate whatever sits beside it.

What gradient works with #eee8fa?

The safest is same-hue elevation: linear-gradient(135deg, #F3EEFB, #eee8fa 45%, #321769). For more colour, a short hue run to #F5CFF1 keeps it rich without turning muddy.

Work with #eee8fa in the Color Lab

Every tool opens with this colour already loaded.

Every value on this page is computed from #eee8fa at request time — conversions, contrast ratios and ΔE distances are calculated, never looked up.