#EB8CF7#EB8CF7

#EB8CF7 is a light, vivid purple. Relative luminance 0.431; OKLCH L 77.7% C 0.177 H 322.9°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#EB8CF7
RGBrgb(235, 140, 247)
HSLhsl(293, 87%, 76%)
HSVhsv(293, 43%, 97%)
CMYKcmyk(4.9%, 43.3%, 0%, 3.1%)
CIE-LABlab(71.65, 52.14, -38.73)
CIE-LCHlch(71.65, 64.95, 323.40°)
OKLaboklab(77.69% 0.1409 -0.1064)
OKLCHoklch(77.69% 0.177 322.9)
XYZxyz(60.4258, 43.1362, 93.1208)
Luminance0.4313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB8CF7 #98F78C
analogous
#B58CF7 #EB8CF7 #F78CCD
triadic
#EB8CF7 #F7EB8C #8CF7EB
tetradic
#EB8CF7 #F7B58C #98F78C #8CCDF7
square
#EB8CF7 #F7B58C #98F78C #8CCDF7
split-complementary
#EB8CF7 #CDF78C #8CF7B5
monochromatic
#D71AEF #E153F3 #EB8CF7 #F5C5FB #FAE2FD

Accessibility & contrast

On white

2.18
#EB8CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#EB8CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB8CF7
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB8CF7#FFFFFF#000000##000000
##EB8CF71.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA8FB
Deuteranopia (green-blind)
#99B3F4
Tritanopia (blue-blind)
#EE98B6
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #eb8cf7;
/* rgb */ color: rgb(235, 140, 247);
/* oklch */ color: oklch(77.7% 0.177 322.9);
Tailwind
colors: {
  custom: {
    50: '#f3b0fa',
    500: '#eb8cf7',
    950: '#000000',
  },
}
SCSS
$custom: #eb8cf7;
$custom-light: #f3b0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#eb8cf7",
  "rgb": {
    "r": 235,
    "g": 140,
    "b": 247
  },
  "hsl": {
    "h": 293.271,
    "s": 86.992,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7769,
    "c": 0.17653,
    "h": 322.9
  },
  "luminance": 0.43134
}

Semantic roles & 50–950 ramp

primary
#EB8CF7
secondary
#D9F5D6
accent
#E4021B
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EB8CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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