#EB7BEB#EB7BEB

#EB7BEB is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.7% C 0.193 H 327.3°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#EB7BEB
RGBrgb(235, 123, 235)
HSLhsl(300, 74%, 70%)
HSVhsv(300, 48%, 92%)
CMYKcmyk(0%, 47.7%, 0%, 7.8%)
CIE-LABlab(67.89, 58.39, -37.99)
CIE-LCHlch(67.89, 69.66, 326.95°)
OKLaboklab(74.73% 0.1622 -0.1042)
OKLCHoklch(74.73% 0.193 327.3)
XYZxyz(56.3383, 37.8293, 82.9154)
Luminance0.3783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7BEB #7BEB7B
analogous
#B37BEB #EB7BEB #EB7BB3
triadic
#EB7BEB #EBEB7B #7BEBEB
tetradic
#EB7BEB #EBB37B #7BEB7B #7BB3EB
square
#EB7BEB #EBB37B #7BEB7B #7BB3EB
split-complementary
#EB7BEB #B3EB7B #7BEBB3
monochromatic
#CD1FCD #E346E3 #EB7BEB #F3B0F3 #FBE4FB

Accessibility & contrast

On white

2.45
#EB7BEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#EB7BEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7BEB
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7BEB#FFFFFF#000000##000000
##EB7BEB1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEF
Deuteranopia (green-blind)
#92ABE8
Tritanopia (blue-blind)
#F187A8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #eb7beb;
/* rgb */ color: rgb(235, 123, 235);
/* oklch */ color: oklch(74.7% 0.193 327.3);
Tailwind
colors: {
  custom: {
    50: '#f4a5f2',
    500: '#eb7beb',
    950: '#000000',
  },
}
SCSS
$custom: #eb7beb;
$custom-light: #f4a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7beb",
  "rgb": {
    "r": 235,
    "g": 123,
    "b": 235
  },
  "hsl": {
    "h": 300,
    "s": 73.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74733,
    "c": 0.19278,
    "h": 327.3
  },
  "luminance": 0.37826
}

Semantic roles & 50–950 ramp

primary
#EB7BEB
secondary
#D1F0D1
accent
#D61010
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EB7BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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