#8762D8#8762D8

#8762D8 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.0% C 0.174 H 295.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8762D8
RGBrgb(135, 98, 216)
HSLhsl(259, 60%, 62%)
HSVhsv(259, 55%, 85%)
CMYKcmyk(37.5%, 54.6%, 0%, 15.3%)
CIE-LABlab(50.50, 41.02, -55.60)
CIE-LCHlch(50.50, 69.09, 306.41°)
OKLaboklab(59.04% 0.0735 -0.1577)
OKLCHoklch(59.04% 0.174 295)
XYZxyz(26.7508, 18.8436, 67.1802)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8762D8 #B3D862
analogous
#6278D8 #8762D8 #C262D8
triadic
#8762D8 #D88762 #62D887
tetradic
#8762D8 #D86278 #B3D862 #62D8C2
square
#8762D8 #D86278 #B3D862 #62D8C2
split-complementary
#8762D8 #D8C262 #78D862
monochromatic
#4A2699 #6232CA #8762D8 #AC93E4 #D2C4F0

Accessibility & contrast

On white

4.40
#8762D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#8762D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8762D8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8762D8#FFFFFF#000000##000000
##8762D81.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C79DC
Deuteranopia (green-blind)
#3776D5
Tritanopia (blue-blind)
#737A94
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8762d8;
/* rgb */ color: rgb(135, 98, 216);
/* oklch */ color: oklch(59.0% 0.174 295.0);
Tailwind
colors: {
  custom: {
    50: '#ae90e5',
    500: '#8762d8',
    950: '#000000',
  },
}
SCSS
$custom: #8762d8;
$custom-light: #ae90e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8762d8",
  "rgb": {
    "r": 135,
    "g": 98,
    "b": 216
  },
  "hsl": {
    "h": 258.814,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.5904,
    "c": 0.174,
    "h": 295
  },
  "luminance": 0.18844
}

Semantic roles & 50–950 ramp

primary
#8762D8
secondary
#D3E1B5
accent
#C81E92
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8762D8

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

Preview Lab → · Contrast checker → · Palette generator →

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