#EBAFFC#EBAFFC

#EBAFFC is a very light, vivid purple. Relative luminance 0.553; OKLCH L 83.5% C 0.123 H 318.7°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#EBAFFC
RGBrgb(235, 175, 252)
HSLhsl(287, 93%, 84%)
HSVhsv(287, 31%, 99%)
CMYKcmyk(6.7%, 30.6%, 0%, 1.2%)
CIE-LABlab(79.24, 34.81, -29.69)
CIE-LCHlch(79.24, 45.75, 319.54°)
OKLaboklab(83.48% 0.092 -0.081)
OKLCHoklch(83.48% 0.123 318.7)
XYZxyz(67.1592, 55.3520, 99.2228)
Luminance0.5535 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBAFFC #C0FCAF
analogous
#C4AFFC #EBAFFC #FCAFE6
triadic
#EBAFFC #FCEBAF #AFFCEB
tetradic
#EBAFFC #FCC4AF #C0FCAF #AFE6FC
square
#EBAFFC #FCC4AF #C0FCAF #AFE6FC
split-complementary
#EBAFFC #E6FCAF #AFFCC4
monochromatic
#CE39F8 #DC74FA #EBAFFC #F8E2FE #F8E2FE

Accessibility & contrast

On white

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

On black

12.07
#EBAFFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBAFFC
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBAFFC#FFFFFF#000000##000000
##EBAFFC1.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebaffc;
/* rgb */ color: rgb(235, 175, 252);
/* oklch */ color: oklch(83.5% 0.123 318.7);
Tailwind
colors: {
  custom: {
    50: '#f2c7fd',
    500: '#ebaffc',
    950: '#000000',
  },
}
SCSS
$custom: #ebaffc;
$custom-light: #f2c7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ebaffc",
  "rgb": {
    "r": 235,
    "g": 175,
    "b": 252
  },
  "hsl": {
    "h": 286.753,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.83484,
    "c": 0.12255,
    "h": 318.7
  },
  "luminance": 0.5535
}

Semantic roles & 50–950 ramp

primary
#EBAFFC
secondary
#88E06F
accent
#E60033
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171317
muted
#858285

Preview Lab

Preview with #EBAFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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