#ECA8FB#ECA8FB

#ECA8FB is a very light, vivid purple. Relative luminance 0.528; OKLCH L 82.4% C 0.134 H 320.2°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#ECA8FB
RGBrgb(236, 168, 251)
HSLhsl(289, 91%, 82%)
HSVhsv(289, 33%, 98%)
CMYKcmyk(6%, 33.1%, 0%, 1.6%)
CIE-LABlab(77.76, 38.64, -31.42)
CIE-LCHlch(77.76, 49.80, 320.88°)
OKLaboklab(82.37% 0.103 -0.0858)
OKLCHoklch(82.37% 0.134 320.2)
XYZxyz(66.0051, 52.8050, 97.9635)
Luminance0.5280 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECA8FB #B7FBA8
analogous
#C3A8FB #ECA8FB #FBA8E0
triadic
#ECA8FB #FBECA8 #A8FBEC
tetradic
#ECA8FB #FBC3A8 #B7FBA8 #A8E0FB
square
#ECA8FB #FBC3A8 #B7FBA8 #A8E0FB
split-complementary
#ECA8FB #E0FBA8 #A8FBC3
monochromatic
#D233F6 #DF6DF8 #ECA8FB #F9E2FE #F9E2FE

Accessibility & contrast

On white

1.82
#ECA8FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#ECA8FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECA8FB
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECA8FB#FFFFFF#000000##000000
##ECA8FB1.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EBBFE
Deuteranopia (green-blind)
#AEC3F8
Tritanopia (blue-blind)
#EDB1C6
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #eca8fb;
/* rgb */ color: rgb(236, 168, 251);
/* oklch */ color: oklch(82.4% 0.134 320.2);
Tailwind
colors: {
  custom: {
    50: '#f3c2fd',
    500: '#eca8fb',
    950: '#000000',
  },
}
SCSS
$custom: #eca8fb;
$custom-light: #f3c2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#eca8fb",
  "rgb": {
    "r": 236,
    "g": 168,
    "b": 251
  },
  "hsl": {
    "h": 289.157,
    "s": 91.209,
    "l": 82.157
  },
  "oklch": {
    "l": 0.82366,
    "c": 0.13403,
    "h": 320.2
  },
  "luminance": 0.52803
}

Semantic roles & 50–950 ramp

primary
#ECA8FB
secondary
#7EDE69
accent
#E60029
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171217
muted
#858285

Preview Lab

Preview with #ECA8FB

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

Preview Lab → · Contrast checker → · Palette generator →

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