#8962DC#8962DC

#8962DC is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.5% C 0.179 H 295.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8962DC
RGBrgb(137, 98, 220)
HSLhsl(259, 64%, 62%)
HSVhsv(259, 55%, 86%)
CMYKcmyk(37.7%, 55.5%, 0%, 13.7%)
CIE-LABlab(50.94, 42.54, -57.15)
CIE-LCHlch(50.94, 71.25, 306.66°)
OKLaboklab(59.49% 0.0761 -0.1622)
OKLCHoklch(59.49% 0.179 295.1)
XYZxyz(27.5991, 19.2205, 69.9521)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8962DC #B5DC62
analogous
#6278DC #8962DC #C662DC
triadic
#8962DC #DC8962 #62DC89
tetradic
#8962DC #DC6278 #B5DC62 #62DCC6
square
#8962DC #DC6278 #B5DC62 #62DCC6
split-complementary
#8962DC #DCC662 #78DC62
monochromatic
#4B24A0 #6330D1 #8962DC #AF94E7 #D4C6F2

Accessibility & contrast

On white

4.34
#8962DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8962DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8962DC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8962DC#FFFFFF#000000##000000
##8962DC1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#277AE0
Deuteranopia (green-blind)
#3477D9
Tritanopia (blue-blind)
#757B96
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8962dc;
/* rgb */ color: rgb(137, 98, 220);
/* oklch */ color: oklch(59.5% 0.179 295.1);
Tailwind
colors: {
  custom: {
    50: '#b090e7',
    500: '#8962dc',
    950: '#000000',
  },
}
SCSS
$custom: #8962dc;
$custom-light: #b090e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8962dc",
  "rgb": {
    "r": 137,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 259.18,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.5949,
    "c": 0.17919,
    "h": 295.1
  },
  "luminance": 0.19221
}

Semantic roles & 50–950 ramp

primary
#8962DC
secondary
#D5E3B7
accent
#CB1A93
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8962DC

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

Preview Lab → · Contrast checker → · Palette generator →

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