#ECB4FB#ECB4FB

#ECB4FB is a very light, moderate purple. Relative luminance 0.574; OKLCH L 84.4% C 0.113 H 319.0°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#ECB4FB
RGBrgb(236, 180, 251)
HSLhsl(287, 90%, 85%)
HSVhsv(287, 28%, 98%)
CMYKcmyk(6%, 28.3%, 0%, 1.6%)
CIE-LABlab(80.43, 32.26, -27.33)
CIE-LCHlch(80.43, 42.28, 319.73°)
OKLaboklab(84.4% 0.0856 -0.0743)
OKLCHoklch(84.4% 0.113 319)
XYZxyz(68.3235, 57.4419, 98.7363)
Luminance0.5744 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECB4FB #C3FBB4
analogous
#C9B4FB #ECB4FB #FBB4E7
triadic
#ECB4FB #FBECB4 #B4FBEC
tetradic
#ECB4FB #FBC9B4 #C3FBB4 #B4E7FB
square
#ECB4FB #FBC9B4 #C3FBB4 #B4E7FB
split-complementary
#ECB4FB #E7FBB4 #B4FBC9
monochromatic
#CF40F5 #DD7AF8 #ECB4FB #F8E2FD #F8E2FD

Accessibility & contrast

On white

1.68
#ECB4FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#ECB4FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECB4FB
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECB4FB#FFFFFF#000000##000000
##ECB4FB1.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACC4FE
Deuteranopia (green-blind)
#B8CAF9
Tritanopia (blue-blind)
#EDBCCD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ecb4fb;
/* rgb */ color: rgb(236, 180, 251);
/* oklch */ color: oklch(84.4% 0.113 319.0);
Tailwind
colors: {
  custom: {
    50: '#f3cbfc',
    500: '#ecb4fb',
    950: '#000000',
  },
}
SCSS
$custom: #ecb4fb;
$custom-light: #f3cbfc;
$custom-dark: #000000;
JSON
{
  "hex": "#ecb4fb",
  "rgb": {
    "r": 236,
    "g": 180,
    "b": 251
  },
  "hsl": {
    "h": 287.324,
    "s": 89.873,
    "l": 84.51
  },
  "oklch": {
    "l": 0.84397,
    "c": 0.11338,
    "h": 319
  },
  "luminance": 0.5744
}

Semantic roles & 50–950 ramp

primary
#ECB4FB
secondary
#8BDF74
accent
#E60030
background
#FFFEFF
surface
#FEFAFF
border
#D6D3D7
text
#171317
muted
#858385

Preview Lab

Preview with #ECB4FB

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

Preview Lab → · Contrast checker → · Palette generator →

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