#F2E8FB#F2E8FB

#F2E8FB is a very light, muted violet. Relative luminance 0.836; OKLCH L 94.4% C 0.027 H 309.2°. Best body text is #000000 at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#F2E8FB
RGBrgb(242, 232, 251)
HSLhsl(272, 70%, 95%)
HSVhsv(272, 8%, 98%)
CMYKcmyk(3.6%, 7.6%, 0%, 1.6%)
CIE-LABlab(93.26, 6.76, -7.96)
CIE-LCHlch(93.26, 10.44, 310.31°)
OKLaboklab(94.44% 0.0173 -0.0212)
OKLCHoklch(94.44% 0.027 309.2)
XYZxyz(82.8842, 83.5557, 103.0095)
Luminance0.8356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E8FB #F1FBE8
analogous
#E9E8FB #F2E8FB #FBE8FB
triadic
#F2E8FB #FBF2E8 #E8FBF2
tetradic
#F2E8FB #FBE9E8 #F1FBE8 #E8FBFB
square
#F2E8FB #FBE9E8 #F1FBE8 #E8FBFB
split-complementary
#F2E8FB #FBFBE8 #E8FBE9
monochromatic
#B780E9 #D5B4F2 #F0E5FA #F0E5FA #F0E5FA

Accessibility & contrast

On white

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

On black

17.71
#F2E8FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E8FB
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E8FB#FFFFFF#000000##000000
##F2E8FB1.001.1917.7117.71
#FFFFFF1.191.0021.0021.00
#00000017.7121.001.001.00
##00000017.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e8fb;
/* rgb */ color: rgb(242, 232, 251);
/* oklch */ color: oklch(94.4% 0.027 309.2);
Tailwind
colors: {
  custom: {
    50: '#f6effc',
    500: '#f2e8fb',
    950: '#000000',
  },
}
SCSS
$custom: #f2e8fb;
$custom-light: #f6effc;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e8fb",
  "rgb": {
    "r": 242,
    "g": 232,
    "b": 251
  },
  "hsl": {
    "h": 271.579,
    "s": 70.37,
    "l": 94.706
  },
  "oklch": {
    "l": 0.94441,
    "c": 0.02741,
    "h": 309.2
  },
  "luminance": 0.83556
}

Semantic roles & 50–950 ramp

primary
#F2E8FB
secondary
#C2E1A6
accent
#D2136E
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#171617
muted
#858585

Preview Lab

Preview with #F2E8FB

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

Preview Lab → · Contrast checker → · Palette generator →

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