#EBC7FE#EBC7FE

#EBC7FE is a very light, moderate violet. Relative luminance 0.657; OKLCH L 87.8% C 0.084 H 313.9°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#EBC7FE
RGBrgb(235, 199, 254)
HSLhsl(279, 96%, 89%)
HSVhsv(279, 22%, 100%)
CMYKcmyk(7.5%, 21.7%, 0%, 0.4%)
CIE-LABlab(84.83, 22.40, -22.24)
CIE-LCHlch(84.83, 31.57, 315.21°)
OKLaboklab(87.79% 0.0579 -0.0602)
OKLCHoklch(87.79% 0.084 313.9)
XYZxyz(72.5709, 65.6656, 102.5984)
Luminance0.6566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC7FE #DAFEC7
analogous
#D0C7FE #EBC7FE #FEC7F6
triadic
#EBC7FE #FEEBC7 #C7FEEB
tetradic
#EBC7FE #FED0C7 #DAFEC7 #C7F6FE
square
#EBC7FE #FED0C7 #DAFEC7 #C7F6FE
split-complementary
#EBC7FE #F6FEC7 #C7FED0
monochromatic
#C04FFC #D68BFD #EBC7FE #F4E1FE #F4E1FE

Accessibility & contrast

On white

1.49
#EBC7FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.13
#EBC7FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC7FE
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC7FE#FFFFFF#000000##000000
##EBC7FE1.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0D2FF
Deuteranopia (green-blind)
#C7D5FC
Tritanopia (blue-blind)
#EACDDA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ebc7fe;
/* rgb */ color: rgb(235, 199, 254);
/* oklch */ color: oklch(87.8% 0.084 313.9);
Tailwind
colors: {
  custom: {
    50: '#f1d8fe',
    500: '#ebc7fe',
    950: '#000000',
  },
}
SCSS
$custom: #ebc7fe;
$custom-light: #f1d8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc7fe",
  "rgb": {
    "r": 235,
    "g": 199,
    "b": 254
  },
  "hsl": {
    "h": 279.273,
    "s": 96.491,
    "l": 88.824
  },
  "oklch": {
    "l": 0.87785,
    "c": 0.08357,
    "h": 313.9
  },
  "luminance": 0.65665
}

Semantic roles & 50–950 ramp

primary
#EBC7FE
secondary
#A5E782
accent
#E6004F
background
#FFFEFF
surface
#FEFBFF
border
#D6D4D7
text
#171418
muted
#858386

Preview Lab

Preview with #EBC7FE

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

Preview Lab → · Contrast checker → · Palette generator →

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