#954CBB#954CBB

#954CBB is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.4% C 0.176 H 312.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#954CBB
RGBrgb(149, 76, 187)
HSLhsl(279, 45%, 52%)
HSVhsv(279, 59%, 73%)
CMYKcmyk(20.3%, 59.4%, 0%, 26.7%)
CIE-LABlab(45.83, 49.27, -46.30)
CIE-LCHlch(45.83, 67.61, 316.78°)
OKLaboklab(55.41% 0.1187 -0.13)
OKLCHoklch(55.41% 0.176 312.4)
XYZxyz(23.9469, 15.1469, 48.6662)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954CBB #72BB4C
analogous
#5E4CBB #954CBB #BB4CAA
triadic
#954CBB #BB954C #4CBB95
tetradic
#954CBB #BB5E4C #72BB4C #4CAABB
square
#954CBB #BB5E4C #72BB4C #4CAABB
split-complementary
#954CBB #AABB4C #4CBB5E
monochromatic
#502766 #733892 #954CBB #AF78CC #CAA5DD

Accessibility & contrast

On white

5.21
#954CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#954CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954CBB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954CBB#FFFFFF#000000##FFFFFF
##954CBB1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2769BF
Deuteranopia (green-blind)
#456EB8
Tritanopia (blue-blind)
#91607C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #954cbb;
/* rgb */ color: rgb(149, 76, 187);
/* oklch */ color: oklch(55.4% 0.176 312.4);
Tailwind
colors: {
  custom: {
    50: '#b782d0',
    500: '#954cbb',
    950: '#000000',
  },
}
SCSS
$custom: #954cbb;
$custom-light: #b782d0;
$custom-dark: #000000;
JSON
{
  "hex": "#954cbb",
  "rgb": {
    "r": 149,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 279.459,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55409,
    "c": 0.17603,
    "h": 312.4
  },
  "luminance": 0.15146
}

Semantic roles & 50–950 ramp

primary
#954CBB
secondary
#AACA99
accent
#D5537F
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #954CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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