#F2E8FF#F2E8FF

#F2E8FF is a very light, muted violet. Relative luminance 0.838; OKLCH L 94.6% C 0.032 H 305.4°. Best body text is #000000 at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#F2E8FF
RGBrgb(242, 232, 255)
HSLhsl(266, 100%, 95%)
HSVhsv(266, 9%, 100%)
CMYKcmyk(5.1%, 9%, 0%, 0%)
CIE-LABlab(93.37, 7.50, -9.88)
CIE-LCHlch(93.37, 12.40, 307.19°)
OKLaboklab(94.56% 0.0188 -0.0264)
OKLCHoklch(94.56% 0.032 305.4)
XYZxyz(83.5214, 83.8106, 106.3653)
Luminance0.8381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E8FF #F5FFE8
analogous
#E8E9FF #F2E8FF #FDE8FF
triadic
#F2E8FF #FFF2E8 #E8FFF2
tetradic
#F2E8FF #FFE8E9 #F5FFE8 #E8FFFD
square
#F2E8FF #FFE8E9 #F5FFE8 #E8FFFD
split-complementary
#F2E8FF #FFFDE8 #E9FFE8
monochromatic
#AD6EFF #CFABFF #EEE0FF #EEE0FF #EEE0FF

Accessibility & contrast

On white

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

On black

17.76
#F2E8FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E8FF
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E8FF#FFFFFF#000000##000000
##F2E8FF1.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5ECFF
Deuteranopia (green-blind)
#E6ECFE
Tritanopia (blue-blind)
#F0EBEF
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2e8ff;
/* rgb */ color: rgb(242, 232, 255);
/* oklch */ color: oklch(94.6% 0.032 305.4);
Tailwind
colors: {
  custom: {
    50: '#f6efff',
    500: '#f2e8ff',
    950: '#000000',
  },
}
SCSS
$custom: #f2e8ff;
$custom-light: #f6efff;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e8ff",
  "rgb": {
    "r": 242,
    "g": 232,
    "b": 255
  },
  "hsl": {
    "h": 266.087,
    "s": 100,
    "l": 95.49
  },
  "oklch": {
    "l": 0.94564,
    "c": 0.03241,
    "h": 305.4
  },
  "luminance": 0.8381
}

Semantic roles & 50–950 ramp

primary
#F2E8FF
secondary
#CBEE9D
accent
#E60082
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#171618
muted
#858586

Preview Lab

Preview with #F2E8FF

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

Preview Lab → · Contrast checker → · Palette generator →

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