#ECB4EF#ECB4EF

#ECB4EF is a very light, moderate purple. Relative luminance 0.567; OKLCH L 83.9% C 0.101 H 324.8°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#ECB4EF
RGBrgb(236, 180, 239)
HSLhsl(297, 65%, 82%)
HSVhsv(297, 25%, 94%)
CMYKcmyk(1.3%, 24.7%, 0%, 6.3%)
CIE-LABlab(80.02, 30.00, -21.52)
CIE-LCHlch(80.02, 36.92, 324.35°)
OKLaboklab(83.95% 0.0822 -0.0581)
OKLCHoklch(83.95% 0.101 324.8)
XYZxyz(66.4916, 56.7092, 89.0880)
Luminance0.5671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECB4EF #B7EFB4
analogous
#CFB4EF #ECB4EF #EFB4D5
triadic
#ECB4EF #EFECB4 #B4EFEC
tetradic
#ECB4EF #EFCFB4 #B7EFB4 #B4D5EF
square
#ECB4EF #EFCFB4 #B7EFB4 #B4D5EF
split-complementary
#ECB4EF #D5EFB4 #B4EFCF
monochromatic
#D24FD9 #DF82E4 #ECB4EF #F9E6FA #F9E6FA

Accessibility & contrast

On white

1.70
#ECB4EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#ECB4EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECB4EF
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECB4EF#FFFFFF#000000##000000
##ECB4EF1.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFC2F1
Deuteranopia (green-blind)
#BCC9ED
Tritanopia (blue-blind)
#EFB9C9
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ecb4ef;
/* rgb */ color: rgb(236, 180, 239);
/* oklch */ color: oklch(83.9% 0.101 324.8);
Tailwind
colors: {
  custom: {
    50: '#f2cbf4',
    500: '#ecb4ef',
    950: '#000000',
  },
}
SCSS
$custom: #ecb4ef;
$custom-light: #f2cbf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ecb4ef",
  "rgb": {
    "r": 236,
    "g": 180,
    "b": 239
  },
  "hsl": {
    "h": 296.949,
    "s": 64.835,
    "l": 82.157
  },
  "oklch": {
    "l": 0.83946,
    "c": 0.10065,
    "h": 324.8
  },
  "luminance": 0.56707
}

Semantic roles & 50–950 ramp

primary
#ECB4EF
secondary
#7ECD7A
accent
#CD1922
background
#FFFEFF
surface
#FEFAFE
border
#D6D3D6
text
#171317
muted
#858385

Preview Lab

Preview with #ECB4EF

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

Preview Lab → · Contrast checker → · Palette generator →

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