#8762EA#8762EA

#8762EA is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.2% C 0.196 H 292.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8762EA
RGBrgb(135, 98, 234)
HSLhsl(256, 76%, 65%)
HSVhsv(256, 58%, 92%)
CMYKcmyk(42.3%, 58.1%, 0%, 8.2%)
CIE-LABlab(51.64, 45.85, -63.94)
CIE-LCHlch(51.64, 78.68, 305.65°)
OKLaboklab(60.24% 0.0735 -0.1822)
OKLCHoklch(60.24% 0.196 292)
XYZxyz(29.2066, 19.8259, 80.1139)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8762EA #C5EA62
analogous
#6281EA #8762EA #CB62EA
triadic
#8762EA #EA8762 #62EA87
tetradic
#8762EA #EA6281 #C5EA62 #62EACB
square
#8762EA #EA6281 #C5EA62 #62EACB
split-complementary
#8762EA #EACB62 #81EA62
monochromatic
#4419B9 #5E2CE3 #8762EA #B098F1 #DACEF8

Accessibility & contrast

On white

4.23
#8762EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8762EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8762EA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8762EA#FFFFFF#000000##000000
##8762EA1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#1378E7
Tritanopia (blue-blind)
#6B809D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8762ea;
/* rgb */ color: rgb(135, 98, 234);
/* oklch */ color: oklch(60.2% 0.196 292.0);
Tailwind
colors: {
  custom: {
    50: '#b090f1',
    500: '#8762ea',
    950: '#000000',
  },
}
SCSS
$custom: #8762ea;
$custom-light: #b090f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8762ea",
  "rgb": {
    "r": 135,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 256.324,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6024,
    "c": 0.19649,
    "h": 292
  },
  "luminance": 0.19827
}

Semantic roles & 50–950 ramp

primary
#8762EA
secondary
#DEEBBD
accent
#D90DA1
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D17
muted
#807D85

Preview Lab

Preview with #8762EA

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

Preview Lab → · Contrast checker → · Palette generator →

#8762EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva