#EBA7EF#EBA7EF

#EBA7EF is a light, vivid purple. Relative luminance 0.515; OKLCH L 81.6% C 0.123 H 324.7°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#EBA7EF
RGBrgb(235, 167, 239)
HSLhsl(297, 69%, 80%)
HSVhsv(297, 30%, 94%)
CMYKcmyk(1.7%, 30.1%, 0%, 6.3%)
CIE-LABlab(77.00, 36.60, -26.12)
CIE-LCHlch(77.00, 44.96, 324.49°)
OKLaboklab(81.62% 0.1002 -0.0708)
OKLCHoklch(81.62% 0.123 324.7)
XYZxyz(63.6580, 51.5336, 88.2383)
Luminance0.5153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBA7EF #ABEFA7
analogous
#C7A7EF #EBA7EF #EFA7CF
triadic
#EBA7EF #EFEBA7 #A7EFEB
tetradic
#EBA7EF #EFC7A7 #ABEFA7 #A7CFEF
square
#EBA7EF #EFC7A7 #ABEFA7 #A7CFEF
split-complementary
#EBA7EF #CFEFA7 #A7EFC7
monochromatic
#D33FDC #DF73E6 #EBA7EF #F7DBF8 #F9E5FA

Accessibility & contrast

On white

1.86
#EBA7EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#EBA7EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBA7EF
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBA7EF#FFFFFF#000000##000000
##EBA7EF1.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1B9F2
Deuteranopia (green-blind)
#B1C1ED
Tritanopia (blue-blind)
#EFAEC1
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #eba7ef;
/* rgb */ color: rgb(235, 167, 239);
/* oklch */ color: oklch(81.6% 0.123 324.7);
Tailwind
colors: {
  custom: {
    50: '#f2c2f4',
    500: '#eba7ef',
    950: '#000000',
  },
}
SCSS
$custom: #eba7ef;
$custom-light: #f2c2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#eba7ef",
  "rgb": {
    "r": 235,
    "g": 167,
    "b": 239
  },
  "hsl": {
    "h": 296.667,
    "s": 69.231,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81623,
    "c": 0.12274,
    "h": 324.7
  },
  "luminance": 0.51532
}

Semantic roles & 50–950 ramp

primary
#EBA7EF
secondary
#73CD6E
accent
#D1141F
background
#FFFDFF
surface
#FEF9FE
border
#D6D2D6
text
#171217
muted
#858285

Preview Lab

Preview with #EBA7EF

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

Preview Lab → · Contrast checker → · Palette generator →

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