#F0EAFE#F0EAFE

#F0EAFE is a very light, muted violet. Relative luminance 0.845; OKLCH L 94.8% C 0.027 H 299.6°. Best body text is #000000 at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#F0EAFE
RGBrgb(240, 234, 254)
HSLhsl(258, 91%, 96%)
HSVhsv(258, 8%, 100%)
CMYKcmyk(5.5%, 7.9%, 0%, 0.4%)
CIE-LABlab(93.68, 5.63, -8.92)
CIE-LCHlch(93.68, 10.54, 302.27°)
OKLaboklab(94.76% 0.0135 -0.0238)
OKLCHoklch(94.76% 0.027 299.6)
XYZxyz(83.2441, 84.5266, 105.6765)
Luminance0.8453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EAFE #F8FEEA
analogous
#EAEEFE #F0EAFE #FAEAFE
triadic
#F0EAFE #FEF0EA #EAFEF0
tetradic
#F0EAFE #FEEAEE #F8FEEA #EAFEFA
square
#F0EAFE #FEEAEE #F8FEEA #EAFEFA
split-complementary
#F0EAFE #FEFAEA #EEFEEA
monochromatic
#9D75F8 #C6B0FB #EAE2FE #EAE2FE #EAE2FE

Accessibility & contrast

On white

1.17
#F0EAFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.91
#F0EAFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EAFE
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EAFE#FFFFFF#000000##000000
##F0EAFE1.001.1717.9117.91
#FFFFFF1.171.0021.0021.00
#00000017.9121.001.001.00
##00000017.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7EDFF
Deuteranopia (green-blind)
#E7EDFD
Tritanopia (blue-blind)
#EEEDF0
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f0eafe;
/* rgb */ color: rgb(240, 234, 254);
/* oklch */ color: oklch(94.8% 0.027 299.6);
Tailwind
colors: {
  custom: {
    50: '#f5f0fe',
    500: '#f0eafe',
    950: '#000000',
  },
}
SCSS
$custom: #f0eafe;
$custom-light: #f5f0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f0eafe",
  "rgb": {
    "r": 240,
    "g": 234,
    "b": 254
  },
  "hsl": {
    "h": 258,
    "s": 90.909,
    "l": 95.686
  },
  "oklch": {
    "l": 0.9476,
    "c": 0.02741,
    "h": 299.6
  },
  "luminance": 0.84527
}

Semantic roles & 50–950 ramp

primary
#F0EAFE
secondary
#D5EAA2
accent
#E600A1
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#171617
muted
#858585

Preview Lab

Preview with #F0EAFE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#F0EAFE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva