#EB7BEF#EB7BEF

#EB7BEF is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.9% C 0.196 H 326.0°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#EB7BEF
RGBrgb(235, 123, 239)
HSLhsl(298, 78%, 71%)
HSVhsv(298, 49%, 94%)
CMYKcmyk(1.7%, 48.5%, 0%, 6.3%)
CIE-LABlab(68.07, 59.10, -39.93)
CIE-LCHlch(68.07, 71.32, 325.96°)
OKLaboklab(74.92% 0.1628 -0.1097)
OKLCHoklch(74.92% 0.196 326)
XYZxyz(56.9227, 38.0630, 85.9932)
Luminance0.3806 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7BEF #7FEF7B
analogous
#B17BEF #EB7BEF #EF7BB9
triadic
#EB7BEF #EFEB7B #7BEFEB
tetradic
#EB7BEF #EFB17B #7FEF7B #7BB9EF
square
#EB7BEF #EFB17B #7FEF7B #7BB9EF
split-complementary
#EB7BEF #B9EF7B #7BEFB1
monochromatic
#CF1AD6 #E344E8 #EB7BEF #F3B2F6 #FBE4FC

Accessibility & contrast

On white

2.44
#EB7BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#EB7BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7BEF
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7BEF#FFFFFF#000000##000000
##EB7BEF1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9DF3
Deuteranopia (green-blind)
#90ABEC
Tritanopia (blue-blind)
#F088AA
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #eb7bef;
/* rgb */ color: rgb(235, 123, 239);
/* oklch */ color: oklch(74.9% 0.196 326.0);
Tailwind
colors: {
  custom: {
    50: '#f4a5f4',
    500: '#eb7bef',
    950: '#000000',
  },
}
SCSS
$custom: #eb7bef;
$custom-light: #f4a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7bef",
  "rgb": {
    "r": 235,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 297.931,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74917,
    "c": 0.19635,
    "h": 326
  },
  "luminance": 0.3806
}

Semantic roles & 50–950 ramp

primary
#EB7BEF
secondary
#D5F2D3
accent
#DB0B12
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EB7BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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