#954BCB#954BCB

#954BCB is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.3% C 0.195 H 307.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#954BCB
RGBrgb(149, 75, 203)
HSLhsl(275, 55%, 55%)
HSVhsv(275, 63%, 80%)
CMYKcmyk(26.6%, 63.1%, 0%, 20.4%)
CIE-LABlab(46.62, 53.34, -54.31)
CIE-LCHlch(46.62, 76.13, 314.48°)
OKLaboklab(56.29% 0.1197 -0.1535)
OKLCHoklch(56.29% 0.195 307.9)
XYZxyz(25.6878, 15.7339, 58.1720)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954BCB #81CB4B
analogous
#554BCB #954BCB #CB4BC1
triadic
#954BCB #CB954B #4BCB95
tetradic
#954BCB #CB554B #81CB4B #4BC1CB
square
#954BCB #CB554B #81CB4B #4BC1CB
split-complementary
#954BCB #C1CB4B #4BCB55
monochromatic
#552379 #7631A8 #954BCB #B17AD9 #CDAAE6

Accessibility & contrast

On white

5.06
#954BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#954BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954BCB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954BCB#FFFFFF#000000##FFFFFF
##954BCB1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#346FC8
Tritanopia (blue-blind)
#8D6584
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #954bcb;
/* rgb */ color: rgb(149, 75, 203);
/* oklch */ color: oklch(56.3% 0.195 307.9);
Tailwind
colors: {
  custom: {
    50: '#b881db',
    500: '#954bcb',
    950: '#000000',
  },
}
SCSS
$custom: #954bcb;
$custom-light: #b881db;
$custom-dark: #000000;
JSON
{
  "hex": "#954bcb",
  "rgb": {
    "r": 149,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 274.688,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56294,
    "c": 0.1946,
    "h": 307.9
  },
  "luminance": 0.15734
}

Semantic roles & 50–950 ramp

primary
#954BCB
secondary
#B5D49E
accent
#DF4988
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #954BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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