#F2E7FB#F2E7FB

#F2E7FB is a very light, muted violet. Relative luminance 0.830; OKLCH L 94.2% C 0.029 H 310.2°. Best body text is #000000 at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#F2E7FB
RGBrgb(242, 231, 251)
HSLhsl(273, 71%, 95%)
HSVhsv(273, 8%, 98%)
CMYKcmyk(3.6%, 8%, 0%, 1.6%)
CIE-LABlab(93.01, 7.27, -8.33)
CIE-LCHlch(93.01, 11.06, 311.14°)
OKLaboklab(94.25% 0.0187 -0.0222)
OKLCHoklch(94.25% 0.029 310.2)
XYZxyz(82.6035, 82.9943, 102.9159)
Luminance0.8299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E7FB #F0FBE7
analogous
#E8E7FB #F2E7FB #FBE7FA
triadic
#F2E7FB #FBF2E7 #E7FBF2
tetradic
#F2E7FB #FBE8E7 #F0FBE7 #E7FAFB
square
#F2E7FB #FBE8E7 #F0FBE7 #E7FAFB
split-complementary
#F2E7FB #FAFBE7 #E7FBE8
monochromatic
#B97EEA #D6B3F2 #F1E5FB #F1E5FB #F1E5FB

Accessibility & contrast

On white

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

On black

17.60
#F2E7FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E7FB
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E7FB#FFFFFF#000000##000000
##F2E7FB1.001.1917.6017.60
#FFFFFF1.191.0021.0021.00
#00000017.6021.001.001.00
##00000017.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4EAFC
Deuteranopia (green-blind)
#E6EBFA
Tritanopia (blue-blind)
#F1E9ED
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f2e7fb;
/* rgb */ color: rgb(242, 231, 251);
/* oklch */ color: oklch(94.2% 0.029 310.2);
Tailwind
colors: {
  custom: {
    50: '#f6eefc',
    500: '#f2e7fb',
    950: '#000000',
  },
}
SCSS
$custom: #f2e7fb;
$custom-light: #f6eefc;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e7fb",
  "rgb": {
    "r": 242,
    "g": 231,
    "b": 251
  },
  "hsl": {
    "h": 273,
    "s": 71.429,
    "l": 94.51
  },
  "oklch": {
    "l": 0.94249,
    "c": 0.02906,
    "h": 310.2
  },
  "luminance": 0.82994
}

Semantic roles & 50–950 ramp

primary
#F2E7FB
secondary
#C0E1A5
accent
#D31269
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#171617
muted
#858585

Preview Lab

Preview with #F2E7FB

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

Preview Lab → · Contrast checker → · Palette generator →

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