#EB7CF2#EB7CF2

#EB7CF2 is a light, vivid purple. Relative luminance 0.385; OKLCH L 75.2% C 0.197 H 325.1°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#EB7CF2
RGBrgb(235, 124, 242)
HSLhsl(296, 82%, 72%)
HSVhsv(296, 49%, 95%)
CMYKcmyk(2.9%, 48.8%, 0%, 5.1%)
CIE-LABlab(68.38, 59.15, -41.09)
CIE-LCHlch(68.38, 72.02, 325.22°)
OKLaboklab(75.19% 0.1619 -0.1131)
OKLCHoklch(75.19% 0.197 325.1)
XYZxyz(57.4943, 38.4911, 88.3883)
Luminance0.3849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7CF2 #83F27C
analogous
#B07CF2 #EB7CF2 #F27CBE
triadic
#EB7CF2 #F2EB7C #7CF2EB
tetradic
#EB7CF2 #F2B07C #83F27C #7CBEF2
square
#EB7CF2 #F2B07C #83F27C #7CBEF2
split-complementary
#EB7CF2 #BEF27C #7CF2B0
monochromatic
#D216DE #E344EC #EB7CF2 #F4B4F8 #FBE3FC

Accessibility & contrast

On white

2.41
#EB7CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#EB7CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7CF2
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7CF2#FFFFFF#000000##000000
##EB7CF21.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#8FACEF
Tritanopia (blue-blind)
#F08AAC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #eb7cf2;
/* rgb */ color: rgb(235, 124, 242);
/* oklch */ color: oklch(75.2% 0.197 325.1);
Tailwind
colors: {
  custom: {
    50: '#f4a6f6',
    500: '#eb7cf2',
    950: '#000000',
  },
}
SCSS
$custom: #eb7cf2;
$custom-light: #f4a6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7cf2",
  "rgb": {
    "r": 235,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 296.441,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75193,
    "c": 0.19749,
    "h": 325.1
  },
  "luminance": 0.38488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB7CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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