#954DCB#954DCB

#954DCB is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.6% C 0.192 H 307.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#954DCB
RGBrgb(149, 77, 203)
HSLhsl(274, 55%, 55%)
HSVhsv(274, 62%, 80%)
CMYKcmyk(26.6%, 62.1%, 0%, 20.4%)
CIE-LABlab(46.99, 52.35, -53.73)
CIE-LCHlch(46.99, 75.02, 314.26°)
OKLaboklab(56.56% 0.1173 -0.1517)
OKLCHoklch(56.56% 0.192 307.7)
XYZxyz(25.8256, 16.0095, 58.2180)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954DCB #83CB4D
analogous
#564DCB #954DCB #CB4DC2
triadic
#954DCB #CB954D #4DCB95
tetradic
#954DCB #CB564D #83CB4D #4DC2CB
square
#954DCB #CB564D #83CB4D #4DC2CB
split-complementary
#954DCB #C2CB4D #4DCB56
monochromatic
#55247A #7631A9 #954DCB #B17CD9 #CDACE7

Accessibility & contrast

On white

5.00
#954DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#954DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954DCB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954DCB#FFFFFF#000000##FFFFFF
##954DCB1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056DCF
Deuteranopia (green-blind)
#3770C8
Tritanopia (blue-blind)
#8D6685
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #954dcb;
/* rgb */ color: rgb(149, 77, 203);
/* oklch */ color: oklch(56.6% 0.192 307.7);
Tailwind
colors: {
  custom: {
    50: '#b883db',
    500: '#954dcb',
    950: '#000000',
  },
}
SCSS
$custom: #954dcb;
$custom-light: #b883db;
$custom-dark: #000000;
JSON
{
  "hex": "#954dcb",
  "rgb": {
    "r": 149,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 274.286,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56557,
    "c": 0.19179,
    "h": 307.7
  },
  "luminance": 0.16009
}

Semantic roles & 50–950 ramp

primary
#954DCB
secondary
#B6D49F
accent
#DE4A89
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #954DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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