#954DC2#954DC2

#954DC2 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 56.0% C 0.182 H 310.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#954DC2
RGBrgb(149, 77, 194)
HSLhsl(277, 49%, 53%)
HSVhsv(277, 60%, 76%)
CMYKcmyk(23.2%, 60.3%, 0%, 23.9%)
CIE-LABlab(46.44, 50.32, -49.41)
CIE-LCHlch(46.44, 70.52, 315.52°)
OKLaboklab(55.98% 0.1175 -0.1391)
OKLCHoklch(55.98% 0.182 310.2)
XYZxyz(24.7841, 15.5928, 52.7326)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954DC2 #7AC24D
analogous
#5A4DC2 #954DC2 #C24DB4
triadic
#954DC2 #C2954D #4DC295
tetradic
#954DC2 #C25A4D #7AC24D #4DB4C2
square
#954DC2 #C25A4D #7AC24D #4DB4C2
split-complementary
#954DC2 #B4C24D #4DC25A
monochromatic
#53266F #75369C #954DC2 #B07BD2 #CBA8E1

Accessibility & contrast

On white

5.10
#954DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#954DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954DC2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954DC2#FFFFFF#000000##FFFFFF
##954DC21.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6BC6
Deuteranopia (green-blind)
#406FBF
Tritanopia (blue-blind)
#8F6380
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #954dc2;
/* rgb */ color: rgb(149, 77, 194);
/* oklch */ color: oklch(56.0% 0.182 310.2);
Tailwind
colors: {
  custom: {
    50: '#b782d5',
    500: '#954dc2',
    950: '#000000',
  },
}
SCSS
$custom: #954dc2;
$custom-light: #b782d5;
$custom-dark: #000000;
JSON
{
  "hex": "#954dc2",
  "rgb": {
    "r": 149,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 276.923,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5598,
    "c": 0.18206,
    "h": 310.2
  },
  "luminance": 0.15592
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #954DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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