#954CC2#954CC2

#954CC2 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.8% C 0.184 H 310.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#954CC2
RGBrgb(149, 76, 194)
HSLhsl(277, 49%, 53%)
HSVhsv(277, 61%, 76%)
CMYKcmyk(23.2%, 60.8%, 0%, 23.9%)
CIE-LABlab(46.25, 50.82, -49.71)
CIE-LCHlch(46.25, 71.09, 315.63°)
OKLaboklab(55.85% 0.1187 -0.14)
OKLCHoklch(55.85% 0.184 310.3)
XYZxyz(24.7146, 15.4540, 52.7094)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954CC2 #79C24C
analogous
#5A4CC2 #954CC2 #C24CB4
triadic
#954CC2 #C2954C #4CC295
tetradic
#954CC2 #C25A4C #79C24C #4CB4C2
square
#954CC2 #C25A4C #79C24C #4CB4C2
split-complementary
#954CC2 #B4C24C #4CC25A
monochromatic
#52266E #75359C #954CC2 #B07AD2 #CBA7E1

Accessibility & contrast

On white

5.13
#954CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#954CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954CC2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954CC2#FFFFFF#000000##FFFFFF
##954CC21.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6AC6
Deuteranopia (green-blind)
#3F6FBF
Tritanopia (blue-blind)
#8F6280
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #954cc2;
/* rgb */ color: rgb(149, 76, 194);
/* oklch */ color: oklch(55.8% 0.184 310.3);
Tailwind
colors: {
  custom: {
    50: '#b782d5',
    500: '#954cc2',
    950: '#000000',
  },
}
SCSS
$custom: #954cc2;
$custom-light: #b782d5;
$custom-dark: #000000;
JSON
{
  "hex": "#954cc2",
  "rgb": {
    "r": 149,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 277.119,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55845,
    "c": 0.18353,
    "h": 310.3
  },
  "luminance": 0.15453
}

Semantic roles & 50–950 ramp

primary
#954CC2
secondary
#AFCE9B
accent
#D94F84
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #954CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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