#8962CB#8962CB

#8962CB is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.4% C 0.158 H 298.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8962CB
RGBrgb(137, 98, 203)
HSLhsl(262, 50%, 59%)
HSVhsv(262, 52%, 80%)
CMYKcmyk(32.5%, 51.7%, 0%, 20.4%)
CIE-LABlab(49.94, 38.11, -49.08)
CIE-LCHlch(49.94, 62.14, 307.83°)
OKLaboklab(58.42% 0.0754 -0.1385)
OKLCHoklch(58.42% 0.158 298.6)
XYZxyz(25.4611, 18.3653, 58.6918)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8962CB #A4CB62
analogous
#6270CB #8962CB #BE62CB
triadic
#8962CB #CB8962 #62CB89
tetradic
#8962CB #CB6270 #A4CB62 #62CBBE
square
#8962CB #CB6270 #A4CB62 #62CBBE
split-complementary
#8962CB #CBBE62 #70CB62
monochromatic
#4E2C86 #683CB4 #8962CB #AC90DA #CEBEE9

Accessibility & contrast

On white

4.49
#8962CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#8962CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8962CB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8962CB#FFFFFF#000000##000000
##8962CB1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B77CF
Deuteranopia (green-blind)
#4676C9
Tritanopia (blue-blind)
#7B768D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8962cb;
/* rgb */ color: rgb(137, 98, 203);
/* oklch */ color: oklch(58.4% 0.158 298.6);
Tailwind
colors: {
  custom: {
    50: '#af90db',
    500: '#8962cb',
    950: '#000000',
  },
}
SCSS
$custom: #8962cb;
$custom-light: #af90db;
$custom-dark: #000000;
JSON
{
  "hex": "#8962cb",
  "rgb": {
    "r": 137,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 262.286,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58419,
    "c": 0.15772,
    "h": 298.6
  },
  "luminance": 0.18366
}

Semantic roles & 50–950 ramp

primary
#8962CB
secondary
#CAD9B0
accent
#DA4EA6
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8962CB

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

Preview Lab → · Contrast checker → · Palette generator →

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