#EBAFEC#EBAFEC

#EBAFEC is a very light, moderate purple. Relative luminance 0.544; OKLCH L 82.9% C 0.106 H 325.9°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#EBAFEC
RGBrgb(235, 175, 236)
HSLhsl(299, 62%, 81%)
HSVhsv(299, 26%, 93%)
CMYKcmyk(0.4%, 25.8%, 0%, 7.5%)
CIE-LABlab(78.68, 31.79, -21.93)
CIE-LCHlch(78.68, 38.62, 325.40°)
OKLaboklab(82.87% 0.0876 -0.0592)
OKLCHoklch(82.87% 0.106 325.9)
XYZxyz(64.7297, 54.3802, 86.4273)
Luminance0.5438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBAFEC #B0ECAF
analogous
#CCAFEC #EBAFEC #ECAFCE
triadic
#EBAFEC #ECEBAF #AFECEB
tetradic
#EBAFEC #ECCCAF #B0ECAF #AFCEEC
square
#EBAFEC #ECCCAF #B0ECAF #AFCEEC
split-complementary
#EBAFEC #CEECAF #AFECCC
monochromatic
#D24CD5 #DF7EE0 #EBAFEC #F7E0F8 #F9E6F9

Accessibility & contrast

On white

1.77
#EBAFEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#EBAFEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBAFEC
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBAFEC#FFFFFF#000000##000000
##EBAFEC1.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABBEEE
Deuteranopia (green-blind)
#B9C5EA
Tritanopia (blue-blind)
#EFB4C5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ebafec;
/* rgb */ color: rgb(235, 175, 236);
/* oklch */ color: oklch(82.9% 0.106 325.9);
Tailwind
colors: {
  custom: {
    50: '#f2c7f2',
    500: '#ebafec',
    950: '#000000',
  },
}
SCSS
$custom: #ebafec;
$custom-light: #f2c7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ebafec",
  "rgb": {
    "r": 235,
    "g": 175,
    "b": 236
  },
  "hsl": {
    "h": 299.016,
    "s": 61.616,
    "l": 80.588
  },
  "oklch": {
    "l": 0.82871,
    "c": 0.10573,
    "h": 325.9
  },
  "luminance": 0.54378
}

Semantic roles & 50–950 ramp

primary
#EBAFEC
secondary
#78C976
accent
#C91C1F
background
#FFFDFF
surface
#FEF9FE
border
#D6D2D6
text
#171317
muted
#858285

Preview Lab

Preview with #EBAFEC

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

Preview Lab → · Contrast checker → · Palette generator →

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