#954DD8#954DD8

#954DD8 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.4% C 0.206 H 304.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#954DD8
RGBrgb(149, 77, 216)
HSLhsl(271, 64%, 57%)
HSVhsv(271, 64%, 85%)
CMYKcmyk(31%, 64.4%, 0%, 15.3%)
CIE-LABlab(47.82, 55.36, -59.84)
CIE-LCHlch(47.82, 81.52, 312.78°)
OKLaboklab(57.43% 0.1165 -0.1697)
OKLCHoklch(57.43% 0.206 304.5)
XYZxyz(27.4402, 16.6553, 66.7216)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954DD8 #90D84D
analogous
#504DD8 #954DD8 #D84DD6
triadic
#954DD8 #D8954D #4DD895
tetradic
#954DD8 #D8504D #90D84D #4DD6D8
square
#954DD8 #D8504D #90D84D #4DD6D8
split-complementary
#954DD8 #D6D84D #4DD850
monochromatic
#571F8C #772ABE #954DD8 #B37FE3 #D1B1EE

Accessibility & contrast

On white

4.85
#954DD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#954DD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954DD8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954DD8#FFFFFF#000000##FFFFFF
##954DD81.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DC
Deuteranopia (green-blind)
#2471D5
Tritanopia (blue-blind)
#896B8C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #954dd8;
/* rgb */ color: rgb(149, 77, 216);
/* oklch */ color: oklch(57.4% 0.206 304.5);
Tailwind
colors: {
  custom: {
    50: '#b983e5',
    500: '#954dd8',
    950: '#000000',
  },
}
SCSS
$custom: #954dd8;
$custom-light: #b983e5;
$custom-dark: #000000;
JSON
{
  "hex": "#954dd8",
  "rgb": {
    "r": 149,
    "g": 77,
    "b": 216
  },
  "hsl": {
    "h": 271.079,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57428,
    "c": 0.20584,
    "h": 304.5
  },
  "luminance": 0.16655
}

Semantic roles & 50–950 ramp

primary
#954DD8
secondary
#BFDCA4
accent
#E74191
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #954DD8

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

Preview Lab → · Contrast checker → · Palette generator →

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