#EB7BF2#EB7BF2

#EB7BF2 is a light, vivid purple. Relative luminance 0.382; OKLCH L 75.1% C 0.199 H 325.1°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#EB7BF2
RGBrgb(235, 123, 242)
HSLhsl(296, 82%, 72%)
HSVhsv(296, 49%, 95%)
CMYKcmyk(2.9%, 49.2%, 0%, 5.1%)
CIE-LABlab(68.20, 59.63, -41.37)
CIE-LCHlch(68.20, 72.58, 325.25°)
OKLaboklab(75.06% 0.1633 -0.1139)
OKLCHoklch(75.06% 0.199 325.1)
XYZxyz(57.3696, 38.2418, 88.3467)
Luminance0.3824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7BF2 #82F27B
analogous
#B07BF2 #EB7BF2 #F27BBE
triadic
#EB7BF2 #F2EB7B #7BF2EB
tetradic
#EB7BF2 #F2B07B #82F27B #7BBEF2
square
#EB7BF2 #F2B07B #82F27B #7BBEF2
split-complementary
#EB7BF2 #BEF27B #7BF2B0
monochromatic
#D116DD #E343ED #EB7BF2 #F3B3F7 #FBE3FC

Accessibility & contrast

On white

2.43
#EB7BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#EB7BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7BF2
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7BF2#FFFFFF#000000##000000
##EB7BF21.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9DF6
Deuteranopia (green-blind)
#8FABEE
Tritanopia (blue-blind)
#F089AC
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #eb7bf2;
/* rgb */ color: rgb(235, 123, 242);
/* oklch */ color: oklch(75.1% 0.199 325.1);
Tailwind
colors: {
  custom: {
    50: '#f4a5f6',
    500: '#eb7bf2',
    950: '#000000',
  },
}
SCSS
$custom: #eb7bf2;
$custom-light: #f4a5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7bf2",
  "rgb": {
    "r": 235,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 296.471,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75058,
    "c": 0.19906,
    "h": 325.1
  },
  "luminance": 0.38239
}

Semantic roles & 50–950 ramp

primary
#EB7BF2
secondary
#D7F4D5
accent
#DE0714
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #EB7BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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