#954CDF#954CDF

#954CDF is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.8% C 0.215 H 303.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#954CDF
RGBrgb(149, 76, 223)
HSLhsl(270, 70%, 59%)
HSVhsv(270, 66%, 87%)
CMYKcmyk(33.2%, 65.9%, 0%, 12.5%)
CIE-LABlab(48.12, 57.49, -63.35)
CIE-LCHlch(48.12, 85.55, 312.23°)
OKLaboklab(57.79% 0.117 -0.18)
OKLCHoklch(57.79% 0.215 303)
XYZxyz(28.2951, 16.8862, 71.5664)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954CDF #96DF4C
analogous
#4C4CDF #954CDF #DE4CDF
triadic
#954CDF #DF954C #4CDF95
tetradic
#954CDF #DF4C4C #96DF4C #4CDFDE
square
#954CDF #DF4C4C #96DF4C #4CDFDE
split-complementary
#954CDF #DFDE4C #4CDF4C
monochromatic
#581B96 #7624CA #954CDF #B480E8 #D2B4F2

Accessibility & contrast

On white

4.80
#954CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#954CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954CDF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954CDF#FFFFFF#000000##FFFFFF
##954CDF1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#0E72DC
Tritanopia (blue-blind)
#866D8F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #954cdf;
/* rgb */ color: rgb(149, 76, 223);
/* oklch */ color: oklch(57.8% 0.215 303.0);
Tailwind
colors: {
  custom: {
    50: '#b983ea',
    500: '#954cdf',
    950: '#000000',
  },
}
SCSS
$custom: #954cdf;
$custom-light: #b983ea;
$custom-dark: #000000;
JSON
{
  "hex": "#954cdf",
  "rgb": {
    "r": 149,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 269.796,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57789,
    "c": 0.21466,
    "h": 303
  },
  "luminance": 0.16886
}

Semantic roles & 50–950 ramp

primary
#954CDF
secondary
#C4E0A6
accent
#EC3B95
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #954CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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