#EBAFFD#EBAFFD

#EBAFFD is a very light, vivid purple. Relative luminance 0.554; OKLCH L 83.5% C 0.124 H 318.3°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#EBAFFD
RGBrgb(235, 175, 253)
HSLhsl(286, 95%, 84%)
HSVhsv(286, 31%, 99%)
CMYKcmyk(7.1%, 30.8%, 0%, 0.8%)
CIE-LABlab(79.28, 35.00, -30.17)
CIE-LCHlch(79.28, 46.21, 319.24°)
OKLaboklab(83.52% 0.0923 -0.0823)
OKLCHoklch(83.52% 0.124 318.3)
XYZxyz(67.3181, 55.4155, 100.0595)
Luminance0.5541 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBAFFD #C1FDAF
analogous
#C4AFFD #EBAFFD #FDAFE8
triadic
#EBAFFD #FDEBAF #AFFDEB
tetradic
#EBAFFD #FDC4AF #C1FDAF #AFE8FD
square
#EBAFFD #FDC4AF #C1FDAF #AFE8FD
split-complementary
#EBAFFD #E8FDAF #AFFDC4
monochromatic
#CD38FA #DC73FC #EBAFFD #F8E1FE #F8E1FE

Accessibility & contrast

On white

1.74
#EBAFFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#EBAFFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBAFFD
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBAFFD#FFFFFF#000000##000000
##EBAFFD1.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5C0FF
Deuteranopia (green-blind)
#B3C6FA
Tritanopia (blue-blind)
#EBB8CB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ebaffd;
/* rgb */ color: rgb(235, 175, 253);
/* oklch */ color: oklch(83.5% 0.124 318.3);
Tailwind
colors: {
  custom: {
    50: '#f2c7fe',
    500: '#ebaffd',
    950: '#000000',
  },
}
SCSS
$custom: #ebaffd;
$custom-light: #f2c7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ebaffd",
  "rgb": {
    "r": 235,
    "g": 175,
    "b": 253
  },
  "hsl": {
    "h": 286.154,
    "s": 95.122,
    "l": 83.922
  },
  "oklch": {
    "l": 0.83523,
    "c": 0.12365,
    "h": 318.3
  },
  "luminance": 0.55414
}

Semantic roles & 50–950 ramp

primary
#EBAFFD
secondary
#89E26E
accent
#E60035
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171317
muted
#858285

Preview Lab

Preview with #EBAFFD

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

Preview Lab → · Contrast checker → · Palette generator →

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