#ECB9FB#ECB9FB

#ECB9FB is a very light, moderate purple. Relative luminance 0.595; OKLCH L 85.3% C 0.105 H 318.4°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#ECB9FB
RGBrgb(236, 185, 251)
HSLhsl(286, 89%, 85%)
HSVhsv(286, 26%, 98%)
CMYKcmyk(6%, 26.3%, 0%, 1.6%)
CIE-LABlab(81.56, 29.60, -25.59)
CIE-LCHlch(81.56, 39.13, 319.15°)
OKLaboklab(85.27% 0.0784 -0.0695)
OKLCHoklch(85.27% 0.105 318.4)
XYZxyz(69.3512, 59.4972, 99.0789)
Luminance0.5950 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECB9FB #C8FBB9
analogous
#CBB9FB #ECB9FB #FBB9E9
triadic
#ECB9FB #FBECB9 #B9FBEC
tetradic
#ECB9FB #FBCBB9 #C8FBB9 #B9E9FB
square
#ECB9FB #FBCBB9 #C8FBB9 #B9E9FB
split-complementary
#ECB9FB #E9FBB9 #B9FBCB
monochromatic
#CD45F4 #DC7FF8 #ECB9FB #F7E2FD #F7E2FD

Accessibility & contrast

On white

1.63
#ECB9FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.90
#ECB9FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECB9FB
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECB9FB#FFFFFF#000000##000000
##ECB9FB1.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1C7FE
Deuteranopia (green-blind)
#BCCCF9
Tritanopia (blue-blind)
#EDC0D0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ecb9fb;
/* rgb */ color: rgb(236, 185, 251);
/* oklch */ color: oklch(85.3% 0.105 318.4);
Tailwind
colors: {
  custom: {
    50: '#f2cefc',
    500: '#ecb9fb',
    950: '#000000',
  },
}
SCSS
$custom: #ecb9fb;
$custom-light: #f2cefc;
$custom-dark: #000000;
JSON
{
  "hex": "#ecb9fb",
  "rgb": {
    "r": 236,
    "g": 185,
    "b": 251
  },
  "hsl": {
    "h": 286.364,
    "s": 89.189,
    "l": 85.49
  },
  "oklch": {
    "l": 0.85266,
    "c": 0.10474,
    "h": 318.4
  },
  "luminance": 0.59496
}

Semantic roles & 50–950 ramp

primary
#ECB9FB
secondary
#90E078
accent
#E60034
background
#FFFEFF
surface
#FEFBFF
border
#D6D4D7
text
#171317
muted
#858385

Preview Lab

Preview with #ECB9FB

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

Preview Lab → · Contrast checker → · Palette generator →

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