#F5EDFC#F5EDFC

#F5EDFC is a very light, muted violet. Relative luminance 0.870; OKLCH L 95.7% C 0.022 H 309.6°. Best body text is #000000 at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#F5EDFC
RGBrgb(245, 237, 252)
HSLhsl(272, 71%, 96%)
HSVhsv(272, 6%, 99%)
CMYKcmyk(2.8%, 6%, 0%, 1.2%)
CIE-LABlab(94.74, 5.34, -6.26)
CIE-LCHlch(94.74, 8.23, 310.48°)
OKLaboklab(95.67% 0.0138 -0.0167)
OKLCHoklch(95.67% 0.022 309.6)
XYZxyz(85.5081, 87.0093, 104.3663)
Luminance0.8701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EDFC #F4FCED
analogous
#EDEDFC #F5EDFC #FCEDFB
triadic
#F5EDFC #FCF5ED #EDFCF5
tetradic
#F5EDFC #FCEDED #F4FCED #EDFBFC
square
#F5EDFC #FCEDED #F4FCED #EDFBFC
split-complementary
#F5EDFC #FBFCED #EDFCED
monochromatic
#BB84EB #D8B9F3 #F0E5FB #F0E5FB #F0E5FB

Accessibility & contrast

On white

1.14
#F5EDFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.40
#F5EDFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EDFC
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EDFC#FFFFFF#000000##000000
##F5EDFC1.001.1418.4018.40
#FFFFFF1.141.0021.0021.00
#00000018.4021.001.001.00
##00000018.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBEFFD
Deuteranopia (green-blind)
#ECF0FB
Tritanopia (blue-blind)
#F4EFF2
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f5edfc;
/* rgb */ color: rgb(245, 237, 252);
/* oklch */ color: oklch(95.7% 0.022 309.6);
Tailwind
colors: {
  custom: {
    50: '#f8f2fd',
    500: '#f5edfc',
    950: '#000000',
  },
}
SCSS
$custom: #f5edfc;
$custom-light: #f8f2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f5edfc",
  "rgb": {
    "r": 245,
    "g": 237,
    "b": 252
  },
  "hsl": {
    "h": 272,
    "s": 71.429,
    "l": 95.882
  },
  "oklch": {
    "l": 0.95667,
    "c": 0.02161,
    "h": 309.6
  },
  "luminance": 0.87009
}

Semantic roles & 50–950 ramp

primary
#F5EDFC
secondary
#C5E3AA
accent
#D3126C
background
#FFFFFF
surface
#FFFEFF
border
#D7D6D7
text
#171717
muted
#858585

Preview Lab

Preview with #F5EDFC

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

Preview Lab → · Contrast checker → · Palette generator →

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