#ECB5FF#ECB5FF

#ECB5FF is a very light, moderate purple. Relative luminance 0.581; OKLCH L 84.7% C 0.116 H 317.3°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#ECB5FF
RGBrgb(236, 181, 255)
HSLhsl(285, 100%, 85%)
HSVhsv(285, 29%, 100%)
CMYKcmyk(7.5%, 29%, 0%, 0%)
CIE-LABlab(80.80, 32.51, -28.91)
CIE-LCHlch(80.80, 43.50, 318.35°)
OKLaboklab(84.73% 0.0852 -0.0788)
OKLCHoklch(84.73% 0.116 317.3)
XYZxyz(69.1633, 58.1020, 102.1597)
Luminance0.5810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECB5FF #C8FFB5
analogous
#C7B5FF #ECB5FF #FFB5ED
triadic
#ECB5FF #FFECB5 #B5FFEC
tetradic
#ECB5FF #FFC7B5 #C8FFB5 #B5EDFF
square
#ECB5FF #FFC7B5 #C8FFB5 #B5EDFF
split-complementary
#ECB5FF #EDFFB5 #B5FFC7
monochromatic
#CD3BFF #DC78FF #ECB5FF #F7E0FF #F7E0FF

Accessibility & contrast

On white

1.66
#ECB5FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#ECB5FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECB5FF
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECB5FF#FFFFFF#000000##000000
##ECB5FF1.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABC5FF
Deuteranopia (green-blind)
#B8CAFD
Tritanopia (blue-blind)
#ECBECF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ecb5ff;
/* rgb */ color: rgb(236, 181, 255);
/* oklch */ color: oklch(84.7% 0.116 317.3);
Tailwind
colors: {
  custom: {
    50: '#f3cbff',
    500: '#ecb5ff',
    950: '#000000',
  },
}
SCSS
$custom: #ecb5ff;
$custom-light: #f3cbff;
$custom-dark: #000000;
JSON
{
  "hex": "#ecb5ff",
  "rgb": {
    "r": 236,
    "g": 181,
    "b": 255
  },
  "hsl": {
    "h": 284.595,
    "s": 100,
    "l": 85.49
  },
  "oklch": {
    "l": 0.84725,
    "c": 0.11607,
    "h": 317.3
  },
  "luminance": 0.58101
}

Semantic roles & 50–950 ramp

primary
#ECB5FF
secondary
#90E672
accent
#E6003B
background
#FFFEFF
surface
#FEFAFF
border
#D6D3D7
text
#171318
muted
#858386

Preview Lab

Preview with #ECB5FF

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

Preview Lab → · Contrast checker → · Palette generator →

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