#954DCC#954DCC

#954DCC is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.6% C 0.193 H 307.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#954DCC
RGBrgb(149, 77, 204)
HSLhsl(274, 55%, 55%)
HSVhsv(274, 62%, 80%)
CMYKcmyk(27%, 62.3%, 0%, 20%)
CIE-LABlab(47.05, 52.58, -54.21)
CIE-LCHlch(47.05, 75.52, 314.13°)
OKLaboklab(56.62% 0.1173 -0.1531)
OKLCHoklch(56.62% 0.193 307.4)
XYZxyz(25.9451, 16.0573, 58.8476)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954DCC #84CC4D
analogous
#554DCC #954DCC #CC4DC3
triadic
#954DCC #CC954D #4DCC95
tetradic
#954DCC #CC554D #84CC4D #4DC3CC
square
#954DCC #CC554D #84CC4D #4DC3CC
split-complementary
#954DCC #C3CC4D #4DCC55
monochromatic
#55237B #7631AB #954DCC #B17DDA #CEACE7

Accessibility & contrast

On white

4.99
#954DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#954DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954DCC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954DCC#FFFFFF#000000##FFFFFF
##954DCC1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016DD0
Deuteranopia (green-blind)
#3670C9
Tritanopia (blue-blind)
#8C6785
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #954dcc;
/* rgb */ color: rgb(149, 77, 204);
/* oklch */ color: oklch(56.6% 0.193 307.4);
Tailwind
colors: {
  custom: {
    50: '#b883dc',
    500: '#954dcc',
    950: '#000000',
  },
}
SCSS
$custom: #954dcc;
$custom-light: #b883dc;
$custom-dark: #000000;
JSON
{
  "hex": "#954dcc",
  "rgb": {
    "r": 149,
    "g": 77,
    "b": 204
  },
  "hsl": {
    "h": 274.016,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56623,
    "c": 0.19288,
    "h": 307.4
  },
  "luminance": 0.16057
}

Semantic roles & 50–950 ramp

primary
#954DCC
secondary
#B7D5A0
accent
#DF498A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #954DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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