#F0E8FA#F0E8FA

#F0E8FA is a very light, muted violet. Relative luminance 0.831; OKLCH L 94.3% C 0.025 H 305.9°. Best body text is #000000 at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#F0E8FA
RGBrgb(240, 232, 250)
HSLhsl(267, 64%, 95%)
HSVhsv(267, 7%, 98%)
CMYKcmyk(4%, 7.2%, 0%, 2%)
CIE-LABlab(93.08, 5.92, -7.73)
CIE-LCHlch(93.08, 9.73, 307.44°)
OKLaboklab(94.25% 0.0149 -0.0206)
OKLCHoklch(94.25% 0.025 305.9)
XYZxyz(82.0441, 83.1407, 102.1495)
Luminance0.8314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E8FA #F2FAE8
analogous
#E8E9FA #F0E8FA #F9E8FA
triadic
#F0E8FA #FAF0E8 #E8FAF0
tetradic
#F0E8FA #FAE8E9 #F2FAE8 #E8FAF9
square
#F0E8FA #FAE8E9 #F2FAE8 #E8FAF9
split-complementary
#F0E8FA #FAF9E8 #E9FAE8
monochromatic
#AE83E4 #CFB6EF #EFE6FA #EFE6FA #EFE6FA

Accessibility & contrast

On white

1.19
#F0E8FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.63
#F0E8FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E8FA
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E8FA#FFFFFF#000000##000000
##F0E8FA1.001.1917.6317.63
#FFFFFF1.191.0021.0021.00
#00000017.6321.001.001.00
##00000017.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5EBFB
Deuteranopia (green-blind)
#E7EBF9
Tritanopia (blue-blind)
#EFEAEE
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f0e8fa;
/* rgb */ color: rgb(240, 232, 250);
/* oklch */ color: oklch(94.3% 0.025 305.9);
Tailwind
colors: {
  custom: {
    50: '#f5effc',
    500: '#f0e8fa',
    950: '#000000',
  },
}
SCSS
$custom: #f0e8fa;
$custom-light: #f5effc;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e8fa",
  "rgb": {
    "r": 240,
    "g": 232,
    "b": 250
  },
  "hsl": {
    "h": 266.667,
    "s": 64.286,
    "l": 94.51
  },
  "oklch": {
    "l": 0.94252,
    "c": 0.02544,
    "h": 305.9
  },
  "luminance": 0.83141
}

Semantic roles & 50–950 ramp

primary
#F0E8FA
secondary
#C6DEA8
accent
#CC197D
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#171617
muted
#858585

Preview Lab

Preview with #F0E8FA

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

Preview Lab → · Contrast checker → · Palette generator →

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