#8762CE#8762CE

#8762CE is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.4% C 0.161 H 296.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8762CE
RGBrgb(135, 98, 206)
HSLhsl(261, 52%, 60%)
HSVhsv(261, 52%, 81%)
CMYKcmyk(34.5%, 52.4%, 0%, 19.2%)
CIE-LABlab(49.91, 38.38, -50.86)
CIE-LCHlch(49.91, 63.72, 307.04°)
OKLaboklab(58.41% 0.073 -0.1438)
OKLCHoklch(58.41% 0.161 296.9)
XYZxyz(25.4972, 18.3421, 60.5776)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8762CE #A9CE62
analogous
#6273CE #8762CE #BD62CE
triadic
#8762CE #CE8762 #62CE87
tetradic
#8762CE #CE6273 #A9CE62 #62CEBD
square
#8762CE #CE6273 #A9CE62 #62CEBD
split-complementary
#8762CE #CEBD62 #73CE62
monochromatic
#4C2B8A #653AB9 #8762CE #AB91DD #CEBFEB

Accessibility & contrast

On white

4.50
#8762CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#8762CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8762CE
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8762CE#FFFFFF#000000##000000
##8762CE1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3877D2
Deuteranopia (green-blind)
#4175CB
Tritanopia (blue-blind)
#77778F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8762ce;
/* rgb */ color: rgb(135, 98, 206);
/* oklch */ color: oklch(58.4% 0.161 296.9);
Tailwind
colors: {
  custom: {
    50: '#ad8fdd',
    500: '#8762ce',
    950: '#000000',
  },
}
SCSS
$custom: #8762ce;
$custom-light: #ad8fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8762ce",
  "rgb": {
    "r": 135,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 260.556,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58408,
    "c": 0.16128,
    "h": 296.9
  },
  "luminance": 0.18342
}

Semantic roles & 50–950 ramp

primary
#8762CE
secondary
#CCDBB1
accent
#DC4CAB
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8762CE

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

Preview Lab → · Contrast checker → · Palette generator →

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