#ECD5FF#ECD5FF

#ECD5FF is a very light, moderate violet. Relative luminance 0.726; OKLCH L 90.5% C 0.062 H 309.7°. Best body text is #000000 at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#ECD5FF
RGBrgb(236, 213, 255)
HSLhsl(273, 100%, 92%)
HSVhsv(273, 16%, 100%)
CMYKcmyk(7.5%, 16.5%, 0%, 0%)
CIE-LABlab(88.28, 15.49, -17.54)
CIE-LCHlch(88.28, 23.41, 311.45°)
OKLaboklab(90.48% 0.0393 -0.0473)
OKLCHoklch(90.48% 0.062 309.7)
XYZxyz(76.4332, 72.6418, 104.5830)
Luminance0.7264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD5FF #E8FFD5
analogous
#D7D5FF #ECD5FF #FFD5FD
triadic
#ECD5FF #FFECD5 #D5FFEC
tetradic
#ECD5FF #FFD7D5 #E8FFD5 #D5FDFF
square
#ECD5FF #FFD7D5 #E8FFD5 #D5FDFF
split-complementary
#ECD5FF #FDFFD5 #D5FFD7
monochromatic
#B55BFF #D098FF #ECD5FF #F1E0FF #F1E0FF

Accessibility & contrast

On white

1.35
#ECD5FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.53
#ECD5FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD5FF
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD5FF#FFFFFF#000000##000000
##ECD5FF1.001.3515.5315.53
#FFFFFF1.351.0021.0021.00
#00000015.5321.001.001.00
##00000015.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFDCFF
Deuteranopia (green-blind)
#D3DEFE
Tritanopia (blue-blind)
#EADAE3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #ecd5ff;
/* rgb */ color: rgb(236, 213, 255);
/* oklch */ color: oklch(90.5% 0.062 309.7);
Tailwind
colors: {
  custom: {
    50: '#f2e2ff',
    500: '#ecd5ff',
    950: '#000000',
  },
}
SCSS
$custom: #ecd5ff;
$custom-light: #f2e2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd5ff",
  "rgb": {
    "r": 236,
    "g": 213,
    "b": 255
  },
  "hsl": {
    "h": 272.857,
    "s": 100,
    "l": 91.765
  },
  "oklch": {
    "l": 0.90484,
    "c": 0.06151,
    "h": 309.7
  },
  "luminance": 0.72641
}

Semantic roles & 50–950 ramp

primary
#ECD5FF
secondary
#B8EB8D
accent
#E60068
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#171518
muted
#858486

Preview Lab

Preview with #ECD5FF

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

Preview Lab → · Contrast checker → · Palette generator →

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