#8762CB#8762CB

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

Color values

HEX#8762CB
RGBrgb(135, 98, 203)
HSLhsl(261, 50%, 59%)
HSVhsv(261, 52%, 80%)
CMYKcmyk(33.5%, 51.7%, 0%, 20.4%)
CIE-LABlab(49.73, 37.60, -49.42)
CIE-LCHlch(49.73, 62.10, 307.27°)
OKLaboklab(58.22% 0.0729 -0.1396)
OKLCHoklch(58.22% 0.157 297.6)
XYZxyz(25.1362, 18.1977, 58.6766)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8762CB #A6CB62
analogous
#6272CB #8762CB #BC62CB
triadic
#8762CB #CB8762 #62CB87
tetradic
#8762CB #CB6272 #A6CB62 #62CBBC
square
#8762CB #CB6272 #A6CB62 #62CBBC
split-complementary
#8762CB #CBBC62 #72CB62
monochromatic
#4C2C86 #663CB4 #8762CB #AA90DA #CDBEE9

Accessibility & contrast

On white

4.53
#8762CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8762CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8762CB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8762CB#FFFFFF#000000##000000
##8762CB1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B77CF
Deuteranopia (green-blind)
#4475C9
Tritanopia (blue-blind)
#78778D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8762cb;
/* rgb */ color: rgb(135, 98, 203);
/* oklch */ color: oklch(58.2% 0.157 297.6);
Tailwind
colors: {
  custom: {
    50: '#ad8fdb',
    500: '#8762cb',
    950: '#000000',
  },
}
SCSS
$custom: #8762cb;
$custom-light: #ad8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8762cb",
  "rgb": {
    "r": 135,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 261.143,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58223,
    "c": 0.15744,
    "h": 297.6
  },
  "luminance": 0.18198
}

Semantic roles & 50–950 ramp

primary
#8762CB
secondary
#CAD9B0
accent
#DA4EA9
background
#FAF8FD
surface
#F5F0FB
border
#CFCBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8762CB

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

Preview Lab → · Contrast checker → · Palette generator →

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