#954CCC#954CCC

#954CCC is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.5% C 0.194 H 307.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#954CCC
RGBrgb(149, 76, 204)
HSLhsl(274, 56%, 55%)
HSVhsv(274, 63%, 80%)
CMYKcmyk(27%, 62.7%, 0%, 20%)
CIE-LABlab(46.87, 53.08, -54.50)
CIE-LCHlch(46.87, 76.07, 314.24°)
OKLaboklab(56.49% 0.1184 -0.154)
OKLCHoklch(56.49% 0.194 307.6)
XYZxyz(25.8757, 15.9184, 58.8245)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954CCC #83CC4C
analogous
#554CCC #954CCC #CC4CC3
triadic
#954CCC #CC954C #4CCC95
tetradic
#954CCC #CC554C #83CC4C #4CC3CC
square
#954CCC #CC554C #83CC4C #4CC3CC
split-complementary
#954CCC #C3CC4C #4CCC55
monochromatic
#55237B #7631AA #954CCC #B17CDA #CDABE7

Accessibility & contrast

On white

5.02
#954CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#954CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954CCC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954CCC#FFFFFF#000000##FFFFFF
##954CCC1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#3470C9
Tritanopia (blue-blind)
#8C6685
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #954ccc;
/* rgb */ color: rgb(149, 76, 204);
/* oklch */ color: oklch(56.5% 0.194 307.6);
Tailwind
colors: {
  custom: {
    50: '#b882dc',
    500: '#954ccc',
    950: '#000000',
  },
}
SCSS
$custom: #954ccc;
$custom-light: #b882dc;
$custom-dark: #000000;
JSON
{
  "hex": "#954ccc",
  "rgb": {
    "r": 149,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 274.219,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56491,
    "c": 0.19428,
    "h": 307.6
  },
  "luminance": 0.15918
}

Semantic roles & 50–950 ramp

primary
#954CCC
secondary
#B6D59F
accent
#DF4989
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #954CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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