#954CCB#954CCB

#954CCB is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.4% C 0.193 H 307.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#954CCB
RGBrgb(149, 76, 203)
HSLhsl(274, 55%, 55%)
HSVhsv(274, 63%, 80%)
CMYKcmyk(26.6%, 62.6%, 0%, 20.4%)
CIE-LABlab(46.80, 52.85, -54.02)
CIE-LCHlch(46.80, 75.58, 314.37°)
OKLaboklab(56.43% 0.1185 -0.1526)
OKLCHoklch(56.43% 0.193 307.8)
XYZxyz(25.7561, 15.8706, 58.1948)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954CCB #82CB4C
analogous
#564CCB #954CCB #CB4CC2
triadic
#954CCB #CB954C #4CCB95
tetradic
#954CCB #CB564C #82CB4C #4CC2CB
square
#954CCB #CB564C #82CB4C #4CC2CB
split-complementary
#954CCB #C2CB4C #4CCB56
monochromatic
#552379 #7631A9 #954CCB #B17BD9 #CDABE7

Accessibility & contrast

On white

5.03
#954CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#954CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954CCB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954CCB#FFFFFF#000000##FFFFFF
##954CCB1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#3670C8
Tritanopia (blue-blind)
#8D6685
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #954ccb;
/* rgb */ color: rgb(149, 76, 203);
/* oklch */ color: oklch(56.4% 0.193 307.8);
Tailwind
colors: {
  custom: {
    50: '#b882db',
    500: '#954ccb',
    950: '#000000',
  },
}
SCSS
$custom: #954ccb;
$custom-light: #b882db;
$custom-dark: #000000;
JSON
{
  "hex": "#954ccb",
  "rgb": {
    "r": 149,
    "g": 76,
    "b": 203
  },
  "hsl": {
    "h": 274.488,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56425,
    "c": 0.1932,
    "h": 307.8
  },
  "luminance": 0.1587
}

Semantic roles & 50–950 ramp

primary
#954CCB
secondary
#B5D49F
accent
#DE4989
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #954CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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