#8762C8#8762C8

#8762C8 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.0% C 0.154 H 298.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8762C8
RGBrgb(135, 98, 200)
HSLhsl(262, 48%, 58%)
HSVhsv(262, 51%, 78%)
CMYKcmyk(32.5%, 51%, 0%, 21.6%)
CIE-LABlab(49.56, 36.82, -47.97)
CIE-LCHlch(49.56, 60.47, 307.51°)
OKLaboklab(58.04% 0.0726 -0.1353)
OKLCHoklch(58.04% 0.154 298.2)
XYZxyz(24.7821, 18.0561, 56.8119)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8762C8 #A3C862
analogous
#6270C8 #8762C8 #BA62C8
triadic
#8762C8 #C88762 #62C887
tetradic
#8762C8 #C86270 #A3C862 #62C8BA
square
#8762C8 #C86270 #A3C862 #62C8BA
split-complementary
#8762C8 #C8BA62 #70C862
monochromatic
#4C2E82 #673DAF #8762C8 #AA8FD8 #CCBDE8

Accessibility & contrast

On white

4.55
#8762C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8762C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8762C8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8762C8#FFFFFF#000000##000000
##8762C81.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D76CC
Deuteranopia (green-blind)
#4775C6
Tritanopia (blue-blind)
#79768C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8762c8;
/* rgb */ color: rgb(135, 98, 200);
/* oklch */ color: oklch(58.0% 0.154 298.2);
Tailwind
colors: {
  custom: {
    50: '#ad8fd9',
    500: '#8762c8',
    950: '#000000',
  },
}
SCSS
$custom: #8762c8;
$custom-light: #ad8fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8762c8",
  "rgb": {
    "r": 135,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 261.765,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58041,
    "c": 0.15358,
    "h": 298.2
  },
  "luminance": 0.18056
}

Semantic roles & 50–950 ramp

primary
#8762C8
secondary
#C8D7AF
accent
#D850A7
background
#FAF8FD
surface
#F5F0FA
border
#CFCBD3
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8762C8

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

Preview Lab → · Contrast checker → · Palette generator →

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