#8762CA#8762CA

#8762CA is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.2% C 0.156 H 297.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8762CA
RGBrgb(135, 98, 202)
HSLhsl(261, 50%, 59%)
HSVhsv(261, 51%, 79%)
CMYKcmyk(33.2%, 51.5%, 0%, 20.8%)
CIE-LABlab(49.68, 37.34, -48.94)
CIE-LCHlch(49.68, 61.55, 307.34°)
OKLaboklab(58.16% 0.0728 -0.1382)
OKLCHoklch(58.16% 0.156 297.8)
XYZxyz(25.0174, 18.1502, 58.0510)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8762CA #A5CA62
analogous
#6271CA #8762CA #BB62CA
triadic
#8762CA #CA8762 #62CA87
tetradic
#8762CA #CA6271 #A5CA62 #62CABB
square
#8762CA #CA6271 #A5CA62 #62CABB
split-complementary
#8762CA #CABB62 #71CA62
monochromatic
#4C2D85 #663CB3 #8762CA #AA90D9 #CDBEE9

Accessibility & contrast

On white

4.54
#8762CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#8762CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8762CA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8762CA#FFFFFF#000000##000000
##8762CA1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C76CE
Deuteranopia (green-blind)
#4575C8
Tritanopia (blue-blind)
#78768D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8762ca;
/* rgb */ color: rgb(135, 98, 202);
/* oklch */ color: oklch(58.2% 0.156 297.8);
Tailwind
colors: {
  custom: {
    50: '#ad8fdb',
    500: '#8762ca',
    950: '#000000',
  },
}
SCSS
$custom: #8762ca;
$custom-light: #ad8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8762ca",
  "rgb": {
    "r": 135,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 261.346,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58162,
    "c": 0.15615,
    "h": 297.8
  },
  "luminance": 0.18151
}

Semantic roles & 50–950 ramp

primary
#8762CA
secondary
#CAD8AF
accent
#D94FA8
background
#FAF8FD
surface
#F5F0FB
border
#CFCBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8762CA

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

Preview Lab → · Contrast checker → · Palette generator →

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