#F0EAFA#F0EAFA

#F0EAFA is a very light, muted violet. Relative luminance 0.843; OKLCH L 94.6% C 0.022 H 302.9°. Best body text is #000000 at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#F0EAFA
RGBrgb(240, 234, 250)
HSLhsl(263, 62%, 95%)
HSVhsv(263, 6%, 98%)
CMYKcmyk(4%, 6.4%, 0%, 2%)
CIE-LABlab(93.57, 4.88, -7.00)
CIE-LCHlch(93.57, 8.53, 304.92°)
OKLaboklab(94.64% 0.0121 -0.0187)
OKLCHoklch(94.64% 0.022 302.9)
XYZxyz(82.6103, 84.2731, 102.3382)
Luminance0.8427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EAFA #F4FAEA
analogous
#EAECFA #F0EAFA #F8EAFA
triadic
#F0EAFA #FAF0EA #EAFAF0
tetradic
#F0EAFA #FAEAEC #F4FAEA #EAFAF8
square
#F0EAFA #FAEAEC #F4FAEA #EAFAF8
split-complementary
#F0EAFA #FAF8EA #ECFAEA
monochromatic
#A987E2 #CDB9EE #EDE6F9 #EDE6F9 #EDE6F9

Accessibility & contrast

On white

1.18
#F0EAFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.85
#F0EAFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EAFA
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EAFA#FFFFFF#000000##000000
##F0EAFA1.001.1817.8517.85
#FFFFFF1.181.0021.0021.00
#00000017.8521.001.001.00
##00000017.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7ECFB
Deuteranopia (green-blind)
#E8ECF9
Tritanopia (blue-blind)
#EFECEF
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f0eafa;
/* rgb */ color: rgb(240, 234, 250);
/* oklch */ color: oklch(94.6% 0.022 302.9);
Tailwind
colors: {
  custom: {
    50: '#f5f0fc',
    500: '#f0eafa',
    950: '#000000',
  },
}
SCSS
$custom: #f0eafa;
$custom-light: #f5f0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f0eafa",
  "rgb": {
    "r": 240,
    "g": 234,
    "b": 250
  },
  "hsl": {
    "h": 262.5,
    "s": 61.538,
    "l": 94.902
  },
  "oklch": {
    "l": 0.94638,
    "c": 0.02223,
    "h": 302.9
  },
  "luminance": 0.84273
}

Semantic roles & 50–950 ramp

primary
#F0EAFA
secondary
#CADDAB
accent
#C91C88
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#171617
muted
#858585

Preview Lab

Preview with #F0EAFA

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

Preview Lab → · Contrast checker → · Palette generator →

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