#8762CC#8762CC

#8762CC is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.3% C 0.159 H 297.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8762CC
RGBrgb(135, 98, 204)
HSLhsl(261, 51%, 59%)
HSVhsv(261, 52%, 80%)
CMYKcmyk(33.8%, 52%, 0%, 20%)
CIE-LABlab(49.79, 37.86, -49.90)
CIE-LCHlch(49.79, 62.63, 307.19°)
OKLaboklab(58.28% 0.0729 -0.141)
OKLCHoklch(58.28% 0.159 297.3)
XYZxyz(25.2557, 18.2456, 59.3062)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8762CC #A7CC62
analogous
#6272CC #8762CC #BC62CC
triadic
#8762CC #CC8762 #62CC87
tetradic
#8762CC #CC6272 #A7CC62 #62CCBC
square
#8762CC #CC6272 #A7CC62 #62CCBC
split-complementary
#8762CC #CCBC62 #72CC62
monochromatic
#4C2C88 #663BB6 #8762CC #AA90DB #CEBEEA

Accessibility & contrast

On white

4.52
#8762CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#8762CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8762CC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8762CC#FFFFFF#000000##000000
##8762CC1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A77D0
Deuteranopia (green-blind)
#4375CA
Tritanopia (blue-blind)
#78778E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8762cc;
/* rgb */ color: rgb(135, 98, 204);
/* oklch */ color: oklch(58.3% 0.159 297.3);
Tailwind
colors: {
  custom: {
    50: '#ad8fdc',
    500: '#8762cc',
    950: '#000000',
  },
}
SCSS
$custom: #8762cc;
$custom-light: #ad8fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8762cc",
  "rgb": {
    "r": 135,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 260.943,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58284,
    "c": 0.15872,
    "h": 297.3
  },
  "luminance": 0.18246
}

Semantic roles & 50–950 ramp

primary
#8762CC
secondary
#CBDAB0
accent
#DA4DA9
background
#FAF8FD
surface
#F5F0FB
border
#CFCBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8762CC

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

Preview Lab → · Contrast checker → · Palette generator →

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