#8762DC#8762DC

#8762DC is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.3% C 0.179 H 294.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8762DC
RGBrgb(135, 98, 220)
HSLhsl(258, 64%, 62%)
HSVhsv(258, 55%, 86%)
CMYKcmyk(38.6%, 55.5%, 0%, 13.7%)
CIE-LABlab(50.75, 42.08, -57.48)
CIE-LCHlch(50.75, 71.24, 306.21°)
OKLaboklab(59.3% 0.0736 -0.1632)
OKLCHoklch(59.3% 0.179 294.3)
XYZxyz(27.2742, 19.0530, 69.9369)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8762DC #B7DC62
analogous
#627ADC #8762DC #C462DC
triadic
#8762DC #DC8762 #62DC87
tetradic
#8762DC #DC627A #B7DC62 #62DCC4
square
#8762DC #DC627A #B7DC62 #62DCC4
split-complementary
#8762DC #DCC462 #7ADC62
monochromatic
#4924A0 #6130D1 #8762DC #AD94E7 #D4C6F2

Accessibility & contrast

On white

4.37
#8762DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8762DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8762DC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8762DC#FFFFFF#000000##000000
##8762DC1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#257AE0
Deuteranopia (green-blind)
#3177D9
Tritanopia (blue-blind)
#727C96
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8762dc;
/* rgb */ color: rgb(135, 98, 220);
/* oklch */ color: oklch(59.3% 0.179 294.3);
Tailwind
colors: {
  custom: {
    50: '#af90e7',
    500: '#8762dc',
    950: '#000000',
  },
}
SCSS
$custom: #8762dc;
$custom-light: #af90e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8762dc",
  "rgb": {
    "r": 135,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 258.197,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.593,
    "c": 0.17904,
    "h": 294.3
  },
  "luminance": 0.19054
}

Semantic roles & 50–950 ramp

primary
#8762DC
secondary
#D6E3B7
accent
#CB1A96
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8762DC

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

Preview Lab → · Contrast checker → · Palette generator →

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