#ECB2F9#ECB2F9

#ECB2F9 is a very light, moderate purple. Relative luminance 0.565; OKLCH L 84.0% C 0.115 H 320.1°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#ECB2F9
RGBrgb(236, 178, 249)
HSLhsl(289, 86%, 84%)
HSVhsv(289, 29%, 98%)
CMYKcmyk(5.2%, 28.5%, 0%, 2.4%)
CIE-LABlab(79.91, 32.95, -27.05)
CIE-LCHlch(79.91, 42.63, 320.61°)
OKLaboklab(83.98% 0.088 -0.0735)
OKLCHoklch(83.98% 0.115 320.1)
XYZxyz(67.6091, 56.5148, 96.9511)
Luminance0.5651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECB2F9 #BFF9B2
analogous
#C8B2F9 #ECB2F9 #F9B2E2
triadic
#ECB2F9 #F9ECB2 #B2F9EC
tetradic
#ECB2F9 #F9C8B2 #BFF9B2 #B2E2F9
square
#ECB2F9 #F9C8B2 #BFF9B2 #B2E2F9
split-complementary
#ECB2F9 #E2F9B2 #B2F9C8
monochromatic
#D040F0 #DE79F5 #ECB2F9 #F8E3FD #F8E3FD

Accessibility & contrast

On white

1.71
#ECB2F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#ECB2F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECB2F9
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECB2F9#FFFFFF#000000##000000
##ECB2F91.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAC2FC
Deuteranopia (green-blind)
#B7C8F7
Tritanopia (blue-blind)
#EDBACB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ecb2f9;
/* rgb */ color: rgb(236, 178, 249);
/* oklch */ color: oklch(84.0% 0.115 320.1);
Tailwind
colors: {
  custom: {
    50: '#f3c9fb',
    500: '#ecb2f9',
    950: '#000000',
  },
}
SCSS
$custom: #ecb2f9;
$custom-light: #f3c9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ecb2f9",
  "rgb": {
    "r": 236,
    "g": 178,
    "b": 249
  },
  "hsl": {
    "h": 289.014,
    "s": 85.542,
    "l": 83.725
  },
  "oklch": {
    "l": 0.83976,
    "c": 0.11467,
    "h": 320.1
  },
  "luminance": 0.56513
}

Semantic roles & 50–950 ramp

primary
#ECB2F9
secondary
#86DC73
accent
#E2032C
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171317
muted
#858285

Preview Lab

Preview with #ECB2F9

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

Preview Lab → · Contrast checker → · Palette generator →

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