#F2E7FD#F2E7FD

#F2E7FD is a very light, muted violet. Relative luminance 0.831; OKLCH L 94.3% C 0.032 H 308.1°. Best body text is #000000 at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#F2E7FD
RGBrgb(242, 231, 253)
HSLhsl(270, 85%, 95%)
HSVhsv(270, 9%, 99%)
CMYKcmyk(4.3%, 8.7%, 0%, 0.8%)
CIE-LABlab(93.07, 7.64, -9.29)
CIE-LCHlch(93.07, 12.03, 309.46°)
OKLaboklab(94.31% 0.0194 -0.0248)
OKLCHoklch(94.31% 0.032 308.1)
XYZxyz(82.9204, 83.1211, 104.5850)
Luminance0.8312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E7FD #F2FDE7
analogous
#E7E7FD #F2E7FD #FDE7FD
triadic
#F2E7FD #FDF2E7 #E7FDF2
tetradic
#F2E7FD #FDE7E7 #F2FDE7 #E7FDFD
square
#F2E7FD #FDE7E7 #F2FDE7 #E7FDFD
split-complementary
#F2E7FD #FDFDE7 #E7FDE7
monochromatic
#B576F4 #D3AFF8 #F0E3FD #F0E3FD #F0E3FD

Accessibility & contrast

On white

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

On black

17.62
#F2E7FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E7FD
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E7FD#FFFFFF#000000##000000
##F2E7FD1.001.1917.6217.62
#FFFFFF1.191.0021.0021.00
#00000017.6221.001.001.00
##00000017.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4EBFE
Deuteranopia (green-blind)
#E6EBFC
Tritanopia (blue-blind)
#F1EAEE
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f2e7fd;
/* rgb */ color: rgb(242, 231, 253);
/* oklch */ color: oklch(94.3% 0.032 308.1);
Tailwind
colors: {
  custom: {
    50: '#f6eefe',
    500: '#f2e7fd',
    950: '#000000',
  },
}
SCSS
$custom: #f2e7fd;
$custom-light: #f6eefe;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e7fd",
  "rgb": {
    "r": 242,
    "g": 231,
    "b": 253
  },
  "hsl": {
    "h": 270,
    "s": 84.615,
    "l": 94.902
  },
  "oklch": {
    "l": 0.94311,
    "c": 0.03153,
    "h": 308.1
  },
  "luminance": 0.83121
}

Semantic roles & 50–950 ramp

primary
#F2E7FD
secondary
#C4E7A1
accent
#E10473
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#171617
muted
#858585

Preview Lab

Preview with #F2E7FD

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

Preview Lab → · Contrast checker → · Palette generator →

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