#ECB2F5#ECB2F5

#ECB2F5 is a very light, moderate purple. Relative luminance 0.563; OKLCH L 83.8% C 0.110 H 321.9°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#ECB2F5
RGBrgb(236, 178, 245)
HSLhsl(292, 77%, 83%)
HSVhsv(292, 27%, 96%)
CMYKcmyk(3.7%, 27.3%, 0%, 3.9%)
CIE-LABlab(79.77, 32.19, -25.12)
CIE-LCHlch(79.77, 40.83, 322.03°)
OKLaboklab(83.82% 0.0869 -0.0681)
OKLCHoklch(83.82% 0.11 321.9)
XYZxyz(66.9919, 56.2679, 93.7003)
Luminance0.5627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECB2F5 #BBF5B2
analogous
#CAB2F5 #ECB2F5 #F5B2DC
triadic
#ECB2F5 #F5ECB2 #B2F5EC
tetradic
#ECB2F5 #F5CAB2 #BBF5B2 #B2DCF5
square
#ECB2F5 #F5CAB2 #BBF5B2 #B2DCF5
split-complementary
#ECB2F5 #DCF5B2 #B2F5CA
monochromatic
#D146E7 #DF7CEE #ECB2F5 #F8E4FB #F8E4FB

Accessibility & contrast

On white

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

On black

12.25
#ECB2F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECB2F5
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECB2F5#FFFFFF#000000##000000
##ECB2F51.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABC2F8
Deuteranopia (green-blind)
#B9C8F3
Tritanopia (blue-blind)
#EEB9CA
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ecb2f5;
/* rgb */ color: rgb(236, 178, 245);
/* oklch */ color: oklch(83.8% 0.110 321.9);
Tailwind
colors: {
  custom: {
    50: '#f3c9f8',
    500: '#ecb2f5',
    950: '#000000',
  },
}
SCSS
$custom: #ecb2f5;
$custom-light: #f3c9f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ecb2f5",
  "rgb": {
    "r": 236,
    "g": 178,
    "b": 245
  },
  "hsl": {
    "h": 291.94,
    "s": 77.011,
    "l": 82.941
  },
  "oklch": {
    "l": 0.83823,
    "c": 0.11039,
    "h": 321.9
  },
  "luminance": 0.56266
}

Semantic roles & 50–950 ramp

primary
#ECB2F5
secondary
#82D675
accent
#D90C28
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171317
muted
#858285

Preview Lab

Preview with #ECB2F5

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

Preview Lab → · Contrast checker → · Palette generator →

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