#8954FD#8954FD

#8954FD is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.8% C 0.237 H 292.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8954FD
RGBrgb(137, 84, 253)
HSLhsl(259, 98%, 66%)
HSVhsv(259, 67%, 99%)
CMYKcmyk(45.8%, 66.8%, 0%, 0.8%)
CIE-LABlab(50.39, 58.78, -76.56)
CIE-LCHlch(50.39, 96.52, 307.51°)
OKLaboklab(59.8% 0.089 -0.2193)
OKLCHoklch(59.8% 0.237 292.1)
XYZxyz(31.2115, 18.7498, 94.8840)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8954FD #C8FD54
analogous
#5473FD #8954FD #DE54FD
triadic
#8954FD #FD8954 #54FD89
tetradic
#8954FD #FD5473 #C8FD54 #54FDDE
square
#8954FD #FD5473 #C8FD54 #54FDDE
split-complementary
#8954FD #FDDE54 #73FD54
monochromatic
#4402D4 #5F18FC #8954FD #B390FE #DCCDFE

Accessibility & contrast

On white

4.42
#8954FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#8954FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8954FD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8954FD#FFFFFF#000000##000000
##8954FD1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0074FA
Tritanopia (blue-blind)
#667EA2
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8954fd;
/* rgb */ color: rgb(137, 84, 253);
/* oklch */ color: oklch(59.8% 0.237 292.1);
Tailwind
colors: {
  custom: {
    50: '#b488ff',
    500: '#8954fd',
    950: '#000000',
  },
}
SCSS
$custom: #8954fd;
$custom-light: #b488ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8954fd",
  "rgb": {
    "r": 137,
    "g": 84,
    "b": 253
  },
  "hsl": {
    "h": 258.817,
    "s": 97.688,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59802,
    "c": 0.23663,
    "h": 292.1
  },
  "luminance": 0.18751
}

Semantic roles & 50–950 ramp

primary
#8954FD
secondary
#E1F2BB
accent
#E6009E
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8954FD

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

Preview Lab → · Contrast checker → · Palette generator →

#8954FD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva