#F2EDF8#F2EDF8

#F2EDF8 is a very light, near-neutral violet. Relative luminance 0.862; OKLCH L 95.3% C 0.016 H 306.4°. Best body text is #000000 at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#F2EDF8
RGBrgb(242, 237, 248)
HSLhsl(267, 44%, 95%)
HSVhsv(267, 4%, 97%)
CMYKcmyk(2.4%, 4.4%, 0%, 2.7%)
CIE-LABlab(94.41, 3.63, -4.70)
CIE-LCHlch(94.41, 5.94, 307.67°)
OKLaboklab(95.31% 0.0092 -0.0125)
OKLCHoklch(95.31% 0.016 306.4)
XYZxyz(83.8425, 86.2230, 101.0144)
Luminance0.8622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EDF8 #F3F8ED
analogous
#EDEDF8 #F2EDF8 #F7EDF8
triadic
#F2EDF8 #F8F2ED #EDF8F2
tetradic
#F2EDF8 #F8EDED #F3F8ED #EDF8F7
square
#F2EDF8 #F8EDED #F3F8ED #EDF8F7
split-complementary
#F2EDF8 #F8F7ED #EDF8ED
monochromatic
#B295D6 #D2C1E7 #EFE9F6 #EFE9F6 #EFE9F6

Accessibility & contrast

On white

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

On black

18.24
#F2EDF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EDF8
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EDF8#FFFFFF#000000##000000
##F2EDF81.001.1518.2418.24
#FFFFFF1.151.0021.0021.00
#00000018.2421.001.001.00
##00000018.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBEFF9
Deuteranopia (green-blind)
#ECEFF8
Tritanopia (blue-blind)
#F1EEF0
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2edf8;
/* rgb */ color: rgb(242, 237, 248);
/* oklch */ color: oklch(95.3% 0.016 306.4);
Tailwind
colors: {
  custom: {
    50: '#f6f2fa',
    500: '#f2edf8',
    950: '#000000',
  },
}
SCSS
$custom: #f2edf8;
$custom-light: #f6f2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f2edf8",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 248
  },
  "hsl": {
    "h": 267.273,
    "s": 44,
    "l": 95.098
  },
  "oklch": {
    "l": 0.95314,
    "c": 0.01553,
    "h": 306.4
  },
  "luminance": 0.86223
}

Semantic roles & 50–950 ramp

primary
#F2EDF8
secondary
#C6D7B3
accent
#B72E79
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#171717
muted
#858585

Preview Lab

Preview with #F2EDF8

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

Preview Lab → · Contrast checker → · Palette generator →

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