#F0E7FA#F0E7FA

#F0E7FA is a very light, muted violet. Relative luminance 0.826; OKLCH L 94.1% C 0.027 H 307.1°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#F0E7FA
RGBrgb(240, 231, 250)
HSLhsl(268, 66%, 94%)
HSVhsv(268, 8%, 98%)
CMYKcmyk(4%, 7.6%, 0%, 2%)
CIE-LABlab(92.83, 6.43, -8.09)
CIE-LCHlch(92.83, 10.34, 308.49°)
OKLaboklab(94.06% 0.0163 -0.0216)
OKLCHoklch(94.06% 0.027 307.1)
XYZxyz(81.7634, 82.5794, 102.0559)
Luminance0.8258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E7FA #F1FAE7
analogous
#E7E8FA #F0E7FA #FAE7FA
triadic
#F0E7FA #FAF0E7 #E7FAF0
tetradic
#F0E7FA #FAE7E8 #F1FAE7 #E7FAFA
square
#F0E7FA #FAE7E8 #F1FAE7 #E7FAFA
split-complementary
#F0E7FA #FAFAE7 #E8FAE7
monochromatic
#B182E5 #D0B4EF #EFE6FA #EFE6FA #EFE6FA

Accessibility & contrast

On white

1.20
#F0E7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.52
#F0E7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E7FA
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E7FA#FFFFFF#000000##000000
##F0E7FA1.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4EAFB
Deuteranopia (green-blind)
#E6EBF9
Tritanopia (blue-blind)
#EFE9ED
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f0e7fa;
/* rgb */ color: rgb(240, 231, 250);
/* oklch */ color: oklch(94.1% 0.027 307.1);
Tailwind
colors: {
  custom: {
    50: '#f5eefc',
    500: '#f0e7fa',
    950: '#000000',
  },
}
SCSS
$custom: #f0e7fa;
$custom-light: #f5eefc;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e7fa",
  "rgb": {
    "r": 240,
    "g": 231,
    "b": 250
  },
  "hsl": {
    "h": 268.421,
    "s": 65.517,
    "l": 94.314
  },
  "oklch": {
    "l": 0.9406,
    "c": 0.02705,
    "h": 307.1
  },
  "luminance": 0.82579
}

Semantic roles & 50–950 ramp

primary
#F0E7FA
secondary
#C4DEA7
accent
#CD1878
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#171617
muted
#858585

Preview Lab

Preview with #F0E7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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