#8762EB#8762EB

#8762EB is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.3% C 0.198 H 291.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8762EB
RGBrgb(135, 98, 235)
HSLhsl(256, 77%, 65%)
HSVhsv(256, 58%, 92%)
CMYKcmyk(42.6%, 58.3%, 0%, 7.8%)
CIE-LABlab(51.71, 46.13, -64.39)
CIE-LCHlch(51.71, 79.21, 305.62°)
OKLaboklab(60.31% 0.0735 -0.1835)
OKLCHoklch(60.31% 0.198 291.8)
XYZxyz(29.3506, 19.8835, 80.8726)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8762EB #C6EB62
analogous
#6282EB #8762EB #CB62EB
triadic
#8762EB #EB8762 #62EB87
tetradic
#8762EB #EB6282 #C6EB62 #62EBCB
square
#8762EB #EB6282 #C6EB62 #62EBCB
split-complementary
#8762EB #EBCB62 #82EB62
monochromatic
#4418BB #5E2CE4 #8762EB #B098F2 #DACFF9

Accessibility & contrast

On white

4.22
#8762EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#8762EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8762EB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8762EB#FFFFFF#000000##000000
##8762EB1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEF
Deuteranopia (green-blind)
#0F78E8
Tritanopia (blue-blind)
#6B809D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8762eb;
/* rgb */ color: rgb(135, 98, 235);
/* oklch */ color: oklch(60.3% 0.198 291.8);
Tailwind
colors: {
  custom: {
    50: '#b090f2',
    500: '#8762eb',
    950: '#000000',
  },
}
SCSS
$custom: #8762eb;
$custom-light: #b090f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8762eb",
  "rgb": {
    "r": 135,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 256.204,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60309,
    "c": 0.19772,
    "h": 291.8
  },
  "luminance": 0.19884
}

Semantic roles & 50–950 ramp

primary
#8762EB
secondary
#DFEBBD
accent
#DA0CA2
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D17
muted
#807D85

Preview Lab

Preview with #8762EB

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

Preview Lab → · Contrast checker → · Palette generator →

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