#8962CE#8962CE

#8962CE is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.6% C 0.162 H 297.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8962CE
RGBrgb(137, 98, 206)
HSLhsl(262, 52%, 60%)
HSVhsv(262, 52%, 81%)
CMYKcmyk(33.5%, 52.4%, 0%, 19.2%)
CIE-LABlab(50.11, 38.88, -50.53)
CIE-LCHlch(50.11, 63.76, 307.58°)
OKLaboklab(58.6% 0.0756 -0.1428)
OKLCHoklch(58.6% 0.162 297.9)
XYZxyz(25.8221, 18.5097, 60.5928)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8962CE #A7CE62
analogous
#6271CE #8962CE #BF62CE
triadic
#8962CE #CE8962 #62CE89
tetradic
#8962CE #CE6271 #A7CE62 #62CEBF
square
#8962CE #CE6271 #A7CE62 #62CEBF
split-complementary
#8962CE #CEBF62 #71CE62
monochromatic
#4E2B8A #683AB9 #8962CE #AC91DD #CFBFEB

Accessibility & contrast

On white

4.47
#8962CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#8962CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8962CE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8962CE#FFFFFF#000000##000000
##8962CE1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3877D2
Deuteranopia (green-blind)
#4376CB
Tritanopia (blue-blind)
#7A778F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8962ce;
/* rgb */ color: rgb(137, 98, 206);
/* oklch */ color: oklch(58.6% 0.162 297.9);
Tailwind
colors: {
  custom: {
    50: '#af90dd',
    500: '#8962ce',
    950: '#000000',
  },
}
SCSS
$custom: #8962ce;
$custom-light: #af90dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8962ce",
  "rgb": {
    "r": 137,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 261.667,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58603,
    "c": 0.16154,
    "h": 297.9
  },
  "luminance": 0.1851
}

Semantic roles & 50–950 ramp

primary
#8962CE
secondary
#CCDBB1
accent
#DC4CA8
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8962CE

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

Preview Lab → · Contrast checker → · Palette generator →

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