#8962EB#8962EB

#8962EB is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.5% C 0.198 H 292.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8962EB
RGBrgb(137, 98, 235)
HSLhsl(257, 77%, 65%)
HSVhsv(257, 58%, 92%)
CMYKcmyk(41.7%, 58.3%, 0%, 7.8%)
CIE-LABlab(51.89, 46.55, -64.08)
CIE-LCHlch(51.89, 79.20, 306.00°)
OKLaboklab(60.49% 0.0761 -0.1826)
OKLCHoklch(60.49% 0.198 292.6)
XYZxyz(29.6755, 20.0511, 80.8879)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8962EB #C4EB62
analogous
#6280EB #8962EB #CD62EB
triadic
#8962EB #EB8962 #62EB89
tetradic
#8962EB #EB6280 #C4EB62 #62EBCD
square
#8962EB #EB6280 #C4EB62 #62EBCD
split-complementary
#8962EB #EBCD62 #80EB62
monochromatic
#4618BB #602CE4 #8962EB #B298F2 #DBCFF9

Accessibility & contrast

On white

4.19
#8962EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8962EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8962EB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8962EB#FFFFFF#000000##000000
##8962EB1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EEF
Deuteranopia (green-blind)
#1579E8
Tritanopia (blue-blind)
#6E809D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8962eb;
/* rgb */ color: rgb(137, 98, 235);
/* oklch */ color: oklch(60.5% 0.198 292.6);
Tailwind
colors: {
  custom: {
    50: '#b190f2',
    500: '#8962eb',
    950: '#000000',
  },
}
SCSS
$custom: #8962eb;
$custom-light: #b190f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8962eb",
  "rgb": {
    "r": 137,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 257.08,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60493,
    "c": 0.19777,
    "h": 292.6
  },
  "luminance": 0.20052
}

Semantic roles & 50–950 ramp

primary
#8962EB
secondary
#DEEBBD
accent
#DA0C9F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D17
muted
#807D85

Preview Lab

Preview with #8962EB

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

Preview Lab → · Contrast checker → · Palette generator →

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