#ECBAFE#ECBAFE

#ECBAFE is a very light, moderate purple. Relative luminance 0.601; OKLCH L 85.6% C 0.106 H 317.0°. Best body text is #000000 at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#ECBAFE
RGBrgb(236, 186, 254)
HSLhsl(284, 97%, 86%)
HSVhsv(284, 27%, 100%)
CMYKcmyk(7.1%, 26.8%, 0%, 0.4%)
CIE-LABlab(81.90, 29.65, -26.69)
CIE-LCHlch(81.90, 39.89, 318.01°)
OKLaboklab(85.56% 0.0778 -0.0726)
OKLCHoklch(85.56% 0.106 317)
XYZxyz(70.0377, 60.1077, 101.6591)
Luminance0.6011 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECBAFE #CCFEBA
analogous
#CABAFE #ECBAFE #FEBAEE
triadic
#ECBAFE #FEECBA #BAFEEC
tetradic
#ECBAFE #FECABA #CCFEBA #BAEEFE
square
#ECBAFE #FECABA #CCFEBA #BAEEFE
split-complementary
#ECBAFE #EEFEBA #BAFECA
monochromatic
#CB41FC #DB7EFD #ECBAFE #F7E1FF #F7E1FF

Accessibility & contrast

On white

1.61
#ECBAFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.02
#ECBAFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECBAFE
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECBAFE#FFFFFF#000000##000000
##ECBAFE1.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1C8FF
Deuteranopia (green-blind)
#BCCDFC
Tritanopia (blue-blind)
#ECC2D2
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ecbafe;
/* rgb */ color: rgb(236, 186, 254);
/* oklch */ color: oklch(85.6% 0.106 317.0);
Tailwind
colors: {
  custom: {
    50: '#f2cfff',
    500: '#ecbafe',
    950: '#000000',
  },
}
SCSS
$custom: #ecbafe;
$custom-light: #f2cfff;
$custom-dark: #000000;
JSON
{
  "hex": "#ecbafe",
  "rgb": {
    "r": 236,
    "g": 186,
    "b": 254
  },
  "hsl": {
    "h": 284.118,
    "s": 97.143,
    "l": 86.275
  },
  "oklch": {
    "l": 0.85555,
    "c": 0.10637,
    "h": 317
  },
  "luminance": 0.60106
}

Semantic roles & 50–950 ramp

primary
#ECBAFE
secondary
#94E577
accent
#E6003D
background
#FFFEFF
surface
#FEFBFF
border
#D6D4D7
text
#171418
muted
#858386

Preview Lab

Preview with #ECBAFE

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

Preview Lab → · Contrast checker → · Palette generator →

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