#F0EDFC#F0EDFC

#F0EDFC is a very light, muted violet. Relative luminance 0.861; OKLCH L 95.3% C 0.020 H 295.2°. Best body text is #000000 at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#F0EDFC
RGBrgb(240, 237, 252)
HSLhsl(252, 71%, 96%)
HSVhsv(252, 6%, 99%)
CMYKcmyk(4.8%, 6%, 0%, 1.2%)
CIE-LABlab(94.36, 3.71, -6.86)
CIE-LCHlch(94.36, 7.80, 298.41°)
OKLaboklab(95.28% 0.0086 -0.0183)
OKLCHoklch(95.28% 0.02 295.2)
XYZxyz(83.7869, 86.1218, 104.2856)
Luminance0.8612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EDFC #F9FCED
analogous
#EDF1FC #F0EDFC #F7EDFC
triadic
#F0EDFC #FCF0ED #EDFCF0
tetradic
#F0EDFC #FCEDF1 #F9FCED #EDFCF7
square
#F0EDFC #FCEDF1 #F9FCED #EDFCF7
split-complementary
#F0EDFC #FCF7ED #F1FCED
monochromatic
#9984EB #C4B9F3 #E9E5FB #E9E5FB #E9E5FB

Accessibility & contrast

On white

1.15
#F0EDFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.22
#F0EDFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EDFC
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EDFC#FFFFFF#000000##000000
##F0EDFC1.001.1518.2218.22
#FFFFFF1.151.0021.0021.00
#00000018.2221.001.001.00
##00000018.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAEFFD
Deuteranopia (green-blind)
#EBEFFC
Tritanopia (blue-blind)
#EEEFF2
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f0edfc;
/* rgb */ color: rgb(240, 237, 252);
/* oklch */ color: oklch(95.3% 0.020 295.2);
Tailwind
colors: {
  custom: {
    50: '#f5f2fd',
    500: '#f0edfc',
    950: '#000000',
  },
}
SCSS
$custom: #f0edfc;
$custom-light: #f5f2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f0edfc",
  "rgb": {
    "r": 240,
    "g": 237,
    "b": 252
  },
  "hsl": {
    "h": 252,
    "s": 71.429,
    "l": 95.882
  },
  "oklch": {
    "l": 0.95279,
    "c": 0.02023,
    "h": 295.2
  },
  "luminance": 0.86122
}

Semantic roles & 50–950 ramp

primary
#F0EDFC
secondary
#D8E3AA
accent
#D312AD
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#171717
muted
#858585

Preview Lab

Preview with #F0EDFC

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

Preview Lab → · Contrast checker → · Palette generator →

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