#8962E5#8962E5

#8962E5 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.1% C 0.190 H 293.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8962E5
RGBrgb(137, 98, 229)
HSLhsl(258, 72%, 64%)
HSVhsv(258, 57%, 90%)
CMYKcmyk(40.2%, 57.2%, 0%, 10.2%)
CIE-LABlab(51.51, 44.94, -61.33)
CIE-LCHlch(51.51, 76.03, 306.23°)
OKLaboklab(60.09% 0.0762 -0.1745)
OKLCHoklch(60.09% 0.19 293.6)
XYZxyz(28.8233, 19.7102, 76.3994)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8962E5 #BEE562
analogous
#627DE5 #8962E5 #CB62E5
triadic
#8962E5 #E58962 #62E589
tetradic
#8962E5 #E5627D #BEE562 #62E5CB
square
#8962E5 #E5627D #BEE562 #62E5CB
split-complementary
#8962E5 #E5CB62 #7DE562
monochromatic
#491DB0 #622DDC #8962E5 #B097EE #D8CBF6

Accessibility & contrast

On white

4.25
#8962E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8962E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8962E5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8962E5#FFFFFF#000000##000000
##8962E51.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#127CE9
Deuteranopia (green-blind)
#2578E2
Tritanopia (blue-blind)
#717E9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8962e5;
/* rgb */ color: rgb(137, 98, 229);
/* oklch */ color: oklch(60.1% 0.190 293.6);
Tailwind
colors: {
  custom: {
    50: '#b190ee',
    500: '#8962e5',
    950: '#000000',
  },
}
SCSS
$custom: #8962e5;
$custom-light: #b190ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8962e5",
  "rgb": {
    "r": 137,
    "g": 98,
    "b": 229
  },
  "hsl": {
    "h": 257.863,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60085,
    "c": 0.19038,
    "h": 293.6
  },
  "luminance": 0.19711
}

Semantic roles & 50–950 ramp

primary
#8962E5
secondary
#DBE8BB
accent
#D4129A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D16
muted
#807D84

Preview Lab

Preview with #8962E5

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

Preview Lab → · Contrast checker → · Palette generator →

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