#8962DB#8962DB

#8962DB is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.4% C 0.178 H 295.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8962DB
RGBrgb(137, 98, 219)
HSLhsl(259, 63%, 62%)
HSVhsv(259, 55%, 86%)
CMYKcmyk(37.4%, 55.3%, 0%, 14.1%)
CIE-LABlab(50.88, 42.28, -56.69)
CIE-LCHlch(50.88, 70.72, 306.72°)
OKLaboklab(59.43% 0.0761 -0.1608)
OKLCHoklch(59.43% 0.178 295.3)
XYZxyz(27.4671, 19.1677, 69.2567)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8962DB #B4DB62
analogous
#6278DB #8962DB #C662DB
triadic
#8962DB #DB8962 #62DB89
tetradic
#8962DB #DB6278 #B4DB62 #62DBC6
square
#8962DB #DB6278 #B4DB62 #62DBC6
split-complementary
#8962DB #DBC662 #78DB62
monochromatic
#4C249E #6430D0 #8962DB #AE94E6 #D4C6F2

Accessibility & contrast

On white

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

On black

4.83
#8962DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8962DB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8962DB#FFFFFF#000000##000000
##8962DB1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#287ADF
Deuteranopia (green-blind)
#3577D8
Tritanopia (blue-blind)
#757B95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8962db;
/* rgb */ color: rgb(137, 98, 219);
/* oklch */ color: oklch(59.4% 0.178 295.3);
Tailwind
colors: {
  custom: {
    50: '#b090e7',
    500: '#8962db',
    950: '#000000',
  },
}
SCSS
$custom: #8962db;
$custom-light: #b090e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8962db",
  "rgb": {
    "r": 137,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 259.339,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59425,
    "c": 0.17794,
    "h": 295.3
  },
  "luminance": 0.19168
}

Semantic roles & 50–950 ramp

primary
#8962DB
secondary
#D4E3B6
accent
#CA1B92
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8962DB

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

Preview Lab → · Contrast checker → · Palette generator →

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