#F2E8FC#F2E8FC

#F2E8FC is a very light, muted violet. Relative luminance 0.836; OKLCH L 94.5% C 0.029 H 308.1°. Best body text is #000000 at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#F2E8FC
RGBrgb(242, 232, 252)
HSLhsl(270, 77%, 95%)
HSVhsv(270, 8%, 99%)
CMYKcmyk(4%, 7.9%, 0%, 1.2%)
CIE-LABlab(93.28, 6.94, -8.44)
CIE-LCHlch(93.28, 10.93, 309.42°)
OKLaboklab(94.47% 0.0177 -0.0225)
OKLCHoklch(94.47% 0.029 308.1)
XYZxyz(83.0422, 83.6189, 103.8418)
Luminance0.8362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E8FC #F2FCE8
analogous
#E8E8FC #F2E8FC #FCE8FC
triadic
#F2E8FC #FCF2E8 #E8FCF2
tetradic
#F2E8FC #FCE8E8 #F2FCE8 #E8FCFC
square
#F2E8FC #FCE8E8 #F2FCE8 #E8FCFC
split-complementary
#F2E8FC #FCFCE8 #E8FCE8
monochromatic
#B57CEE #D3B2F5 #F0E4FB #F0E4FB #F0E4FB

Accessibility & contrast

On white

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

On black

17.72
#F2E8FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E8FC
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E8FC#FFFFFF#000000##000000
##F2E8FC1.001.1817.7217.72
#FFFFFF1.181.0021.0021.00
#00000017.7221.001.001.00
##00000017.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e8fc;
/* rgb */ color: rgb(242, 232, 252);
/* oklch */ color: oklch(94.5% 0.029 308.1);
Tailwind
colors: {
  custom: {
    50: '#f6effd',
    500: '#f2e8fc',
    950: '#000000',
  },
}
SCSS
$custom: #f2e8fc;
$custom-light: #f6effd;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e8fc",
  "rgb": {
    "r": 242,
    "g": 232,
    "b": 252
  },
  "hsl": {
    "h": 270,
    "s": 76.923,
    "l": 94.902
  },
  "oklch": {
    "l": 0.94471,
    "c": 0.02865,
    "h": 308.1
  },
  "luminance": 0.83619
}

Semantic roles & 50–950 ramp

primary
#F2E8FC
secondary
#C4E4A4
accent
#D90C73
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#171617
muted
#858585

Preview Lab

Preview with #F2E8FC

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

Preview Lab → · Contrast checker → · Palette generator →

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