#F2EDFB#F2EDFB

#F2EDFB is a very light, near-neutral violet. Relative luminance 0.864; OKLCH L 95.4% C 0.019 H 302.2°. Best body text is #000000 at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#F2EDFB
RGBrgb(242, 237, 251)
HSLhsl(261, 64%, 96%)
HSVhsv(261, 6%, 98%)
CMYKcmyk(3.6%, 5.6%, 0%, 1.6%)
CIE-LABlab(94.49, 4.18, -6.14)
CIE-LCHlch(94.49, 7.43, 304.22°)
OKLaboklab(95.4% 0.0103 -0.0164)
OKLCHoklch(95.4% 0.019 302.2)
XYZxyz(84.3117, 86.4107, 103.4853)
Luminance0.8641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EDFB #F6FBED
analogous
#EDEFFB #F2EDFB #F9EDFB
triadic
#F2EDFB #FBF2ED #EDFBF2
tetradic
#F2EDFB #FBEDEF #F6FBED #EDFBF9
square
#F2EDFB #FBEDEF #F6FBED #EDFBF9
split-complementary
#F2EDFB #FBF9ED #EFFBED
monochromatic
#AA89E5 #CEBBF0 #EDE6F9 #EDE6F9 #EDE6F9

Accessibility & contrast

On white

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

On black

18.28
#F2EDFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EDFB
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EDFB#FFFFFF#000000##000000
##F2EDFB1.001.1518.2818.28
#FFFFFF1.151.0021.0021.00
#00000018.2821.001.001.00
##00000018.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBEFFC
Deuteranopia (green-blind)
#ECEFFB
Tritanopia (blue-blind)
#F1EFF1
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2edfb;
/* rgb */ color: rgb(242, 237, 251);
/* oklch */ color: oklch(95.4% 0.019 302.2);
Tailwind
colors: {
  custom: {
    50: '#f6f2fc',
    500: '#f2edfb',
    950: '#000000',
  },
}
SCSS
$custom: #f2edfb;
$custom-light: #f6f2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f2edfb",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 251
  },
  "hsl": {
    "h": 261.429,
    "s": 63.636,
    "l": 95.686
  },
  "oklch": {
    "l": 0.95403,
    "c": 0.01935,
    "h": 302.2
  },
  "luminance": 0.86411
}

Semantic roles & 50–950 ramp

primary
#F2EDFB
secondary
#CDDFAD
accent
#CB1A8C
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#171717
muted
#858585

Preview Lab

Preview with #F2EDFB

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

Preview Lab → · Contrast checker → · Palette generator →

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