#9954EB#9954EB

#9954EB is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.1% C 0.218 H 301.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9954EB
RGBrgb(153, 84, 235)
HSLhsl(267, 79%, 63%)
HSVhsv(267, 64%, 92%)
CMYKcmyk(34.9%, 64.3%, 0%, 7.8%)
CIE-LABlab(50.82, 57.27, -65.74)
CIE-LCHlch(50.82, 87.19, 311.06°)
OKLaboklab(60.09% 0.1124 -0.1869)
OKLCHoklch(60.09% 0.218 301)
XYZxyz(31.2990, 19.1109, 80.6210)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9954EB #A6EB54
analogous
#545BEB #9954EB #E454EB
triadic
#9954EB #EB9954 #54EB99
tetradic
#9954EB #EB545B #A6EB54 #54EBE4
square
#9954EB #EB545B #A6EB54 #54EBE4
split-complementary
#9954EB #EBE454 #5BEB54
monochromatic
#5C15B0 #781DE5 #9954EB #BA8BF1 #DAC2F8

Accessibility & contrast

On white

4.35
#9954EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#9954EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9954EB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9954EB#FFFFFF#000000##000000
##9954EB1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#0D78E8
Tritanopia (blue-blind)
#887698
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9954eb;
/* rgb */ color: rgb(153, 84, 235);
/* oklch */ color: oklch(60.1% 0.218 301.0);
Tailwind
colors: {
  custom: {
    50: '#bc88f2',
    500: '#9954eb',
    950: '#000000',
  },
}
SCSS
$custom: #9954eb;
$custom-light: #bc88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9954eb",
  "rgb": {
    "r": 153,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 267.417,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60092,
    "c": 0.21812,
    "h": 301
  },
  "luminance": 0.19111
}

Semantic roles & 50–950 ramp

primary
#9954EB
secondary
#D0E9B2
accent
#DB0A7C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9954EB

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

Preview Lab → · Contrast checker → · Palette generator →

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