#954AD9#954AD9

#954AD9 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.1% C 0.211 H 304.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#954AD9
RGBrgb(149, 74, 217)
HSLhsl(271, 65%, 57%)
HSVhsv(271, 66%, 85%)
CMYKcmyk(31.3%, 65.9%, 0%, 14.9%)
CIE-LABlab(47.36, 57.05, -61.15)
CIE-LCHlch(47.36, 83.63, 313.01°)
OKLaboklab(57.12% 0.1198 -0.1735)
OKLCHoklch(57.12% 0.211 304.6)
XYZxyz(27.3648, 16.2970, 67.3362)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954AD9 #8ED94A
analogous
#4E4AD9 #954AD9 #D94AD5
triadic
#954AD9 #D9954A #4AD995
tetradic
#954AD9 #D94E4A #8ED94A #4AD5D9
square
#954AD9 #D94E4A #8ED94A #4AD5D9
split-complementary
#954AD9 #D5D94A #4AD94E
monochromatic
#571D8B #7728BE #954AD9 #B37DE4 #D0AFEE

Accessibility & contrast

On white

4.93
#954AD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#954AD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954AD9
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954AD9#FFFFFF#000000##FFFFFF
##954AD91.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#1B70D6
Tritanopia (blue-blind)
#88698B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #954ad9;
/* rgb */ color: rgb(149, 74, 217);
/* oklch */ color: oklch(57.1% 0.211 304.6);
Tailwind
colors: {
  custom: {
    50: '#b981e6',
    500: '#954ad9',
    950: '#000000',
  },
}
SCSS
$custom: #954ad9;
$custom-light: #b981e6;
$custom-dark: #000000;
JSON
{
  "hex": "#954ad9",
  "rgb": {
    "r": 149,
    "g": 74,
    "b": 217
  },
  "hsl": {
    "h": 271.469,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57118,
    "c": 0.21084,
    "h": 304.6
  },
  "luminance": 0.16297
}

Semantic roles & 50–950 ramp

primary
#954AD9
secondary
#BEDCA2
accent
#E84090
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #954AD9

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

Preview Lab → · Contrast checker → · Palette generator →

#954AD9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva