#F2EDFF#F2EDFF

#F2EDFF is a very light, muted violet. Relative luminance 0.867; OKLCH L 95.5% C 0.025 H 298.6°. Best body text is #000000 at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#F2EDFF
RGBrgb(242, 237, 255)
HSLhsl(257, 100%, 96%)
HSVhsv(257, 7%, 100%)
CMYKcmyk(5.1%, 7.1%, 0%, 0%)
CIE-LABlab(94.60, 4.92, -8.06)
CIE-LCHlch(94.60, 9.44, 301.39°)
OKLaboklab(95.52% 0.0118 -0.0215)
OKLCHoklch(95.52% 0.025 298.6)
XYZxyz(84.9489, 86.6655, 106.8412)
Luminance0.8667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EDFF #FAFFED
analogous
#EDF1FF #F2EDFF #FBEDFF
triadic
#F2EDFF #FFF2ED #EDFFF2
tetradic
#F2EDFF #FFEDF1 #FAFFED #EDFFFB
square
#F2EDFF #FFEDF1 #FAFFED #EDFFFB
split-complementary
#F2EDFF #FFFBED #F1FFED
monochromatic
#9A73FF #C6B0FF #E9E0FF #E9E0FF #E9E0FF

Accessibility & contrast

On white

1.15
#F2EDFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.33
#F2EDFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EDFF
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EDFF#FFFFFF#000000##000000
##F2EDFF1.001.1518.3318.33
#FFFFFF1.151.0021.0021.00
#00000018.3321.001.001.00
##00000018.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAEFFF
Deuteranopia (green-blind)
#EBEFFE
Tritanopia (blue-blind)
#F0EFF3
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2edff;
/* rgb */ color: rgb(242, 237, 255);
/* oklch */ color: oklch(95.5% 0.025 298.6);
Tailwind
colors: {
  custom: {
    50: '#f6f2ff',
    500: '#f2edff',
    950: '#000000',
  },
}
SCSS
$custom: #f2edff;
$custom-light: #f6f2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f2edff",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 255
  },
  "hsl": {
    "h": 256.667,
    "s": 100,
    "l": 96.471
  },
  "oklch": {
    "l": 0.95524,
    "c": 0.02453,
    "h": 298.6
  },
  "luminance": 0.86666
}

Semantic roles & 50–950 ramp

primary
#F2EDFF
secondary
#D9EFA2
accent
#E600A6
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#171718
muted
#858586

Preview Lab

Preview with #F2EDFF

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

Preview Lab → · Contrast checker → · Palette generator →

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