#8762CD#8762CD

#8762CD is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.3% C 0.160 H 297.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8762CD
RGBrgb(135, 98, 205)
HSLhsl(261, 52%, 59%)
HSVhsv(261, 52%, 80%)
CMYKcmyk(34.1%, 52.2%, 0%, 19.6%)
CIE-LABlab(49.85, 38.12, -50.38)
CIE-LCHlch(49.85, 63.18, 307.11°)
OKLaboklab(58.35% 0.073 -0.1424)
OKLCHoklch(58.35% 0.16 297.1)
XYZxyz(25.3761, 18.2937, 59.9399)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8762CD #A8CD62
analogous
#6273CD #8762CD #BD62CD
triadic
#8762CD #CD8762 #62CD87
tetradic
#8762CD #CD6273 #A8CD62 #62CDBD
square
#8762CD #CD6273 #A8CD62 #62CDBD
split-complementary
#8762CD #CDBD62 #73CD62
monochromatic
#4C2C89 #663AB7 #8762CD #AA90DC #CEBFEB

Accessibility & contrast

On white

4.51
#8762CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8762CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8762CD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8762CD#FFFFFF#000000##000000
##8762CD1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3977D1
Deuteranopia (green-blind)
#4275CA
Tritanopia (blue-blind)
#77778E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8762cd;
/* rgb */ color: rgb(135, 98, 205);
/* oklch */ color: oklch(58.3% 0.160 297.1);
Tailwind
colors: {
  custom: {
    50: '#ad8fdd',
    500: '#8762cd',
    950: '#000000',
  },
}
SCSS
$custom: #8762cd;
$custom-light: #ad8fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8762cd",
  "rgb": {
    "r": 135,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 260.748,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58346,
    "c": 0.16,
    "h": 297.1
  },
  "luminance": 0.18294
}

Semantic roles & 50–950 ramp

primary
#8762CD
secondary
#CCDAB1
accent
#DB4DAA
background
#FAF8FD
surface
#F5F0FB
border
#CFCBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8762CD

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

Preview Lab → · Contrast checker → · Palette generator →

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