#F5ECFD#F5ECFD

#F5ECFD is a very light, muted violet. Relative luminance 0.865; OKLCH L 95.5% C 0.024 H 309.4°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#F5ECFD
RGBrgb(245, 236, 253)
HSLhsl(272, 81%, 96%)
HSVhsv(272, 7%, 99%)
CMYKcmyk(3.2%, 6.7%, 0%, 0.8%)
CIE-LABlab(94.52, 6.04, -7.10)
CIE-LCHlch(94.52, 9.32, 310.38°)
OKLaboklab(95.51% 0.0155 -0.0189)
OKLCHoklch(95.51% 0.024 309.4)
XYZxyz(85.3783, 86.4954, 105.1069)
Luminance0.8649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5ECFD #F4FDEC
analogous
#ECECFD #F5ECFD #FDECFC
triadic
#F5ECFD #FDF5EC #ECFDF5
tetradic
#F5ECFD #FDECEC #F4FDEC #ECFCFD
square
#F5ECFD #FDECEC #F4FDEC #ECFCFD
split-complementary
#F5ECFD #FCFDEC #ECFDEC
monochromatic
#BB7DF1 #D8B5F7 #F0E3FC #F0E3FC #F0E3FC

Accessibility & contrast

On white

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

On black

18.30
#F5ECFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5ECFD
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5ECFD#FFFFFF#000000##000000
##F5ECFD1.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5ecfd;
/* rgb */ color: rgb(245, 236, 253);
/* oklch */ color: oklch(95.5% 0.024 309.4);
Tailwind
colors: {
  custom: {
    50: '#f8f2fe',
    500: '#f5ecfd',
    950: '#000000',
  },
}
SCSS
$custom: #f5ecfd;
$custom-light: #f8f2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ecfd",
  "rgb": {
    "r": 245,
    "g": 236,
    "b": 253
  },
  "hsl": {
    "h": 271.765,
    "s": 80.952,
    "l": 95.882
  },
  "oklch": {
    "l": 0.95505,
    "c": 0.02448,
    "h": 309.4
  },
  "luminance": 0.86495
}

Semantic roles & 50–950 ramp

primary
#F5ECFD
secondary
#C5E7A7
accent
#DD086C
background
#FFFFFF
surface
#FFFEFF
border
#D7D6D7
text
#171617
muted
#858585

Preview Lab

Preview with #F5ECFD

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

Preview Lab → · Contrast checker → · Palette generator →

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