#8962CA#8962CA

#8962CA is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.4% C 0.156 H 298.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8962CA
RGBrgb(137, 98, 202)
HSLhsl(263, 50%, 59%)
HSVhsv(263, 51%, 79%)
CMYKcmyk(32.2%, 51.5%, 0%, 20.8%)
CIE-LABlab(49.88, 37.85, -48.60)
CIE-LCHlch(49.88, 61.60, 307.91°)
OKLaboklab(58.36% 0.0753 -0.1371)
OKLCHoklch(58.36% 0.156 298.8)
XYZxyz(25.3423, 18.3178, 58.0662)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8962CA #A3CA62
analogous
#626FCA #8962CA #BD62CA
triadic
#8962CA #CA8962 #62CA89
tetradic
#8962CA #CA626F #A3CA62 #62CABD
square
#8962CA #CA626F #A3CA62 #62CABD
split-complementary
#8962CA #CABD62 #6FCA62
monochromatic
#4E2D85 #693CB3 #8962CA #AB90D9 #CEBEE9

Accessibility & contrast

On white

4.50
#8962CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8962CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8962CA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8962CA#FFFFFF#000000##000000
##8962CA1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C77CE
Deuteranopia (green-blind)
#4776C8
Tritanopia (blue-blind)
#7B768D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8962ca;
/* rgb */ color: rgb(137, 98, 202);
/* oklch */ color: oklch(58.4% 0.156 298.8);
Tailwind
colors: {
  custom: {
    50: '#ae90db',
    500: '#8962ca',
    950: '#000000',
  },
}
SCSS
$custom: #8962ca;
$custom-light: #ae90db;
$custom-dark: #000000;
JSON
{
  "hex": "#8962ca",
  "rgb": {
    "r": 137,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 262.5,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58359,
    "c": 0.15644,
    "h": 298.8
  },
  "luminance": 0.18318
}

Semantic roles & 50–950 ramp

primary
#8962CA
secondary
#C9D8AF
accent
#D94FA5
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8962CA

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

Preview Lab → · Contrast checker → · Palette generator →

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