#954BA6#954BA6

#954BA6 is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.0% C 0.155 H 319.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#954BA6
RGBrgb(149, 75, 166)
HSLhsl(289, 38%, 47%)
HSVhsv(289, 55%, 65%)
CMYKcmyk(10.2%, 54.8%, 0%, 34.9%)
CIE-LABlab(44.48, 45.32, -36.10)
CIE-LCHlch(44.48, 57.94, 321.46°)
OKLaboklab(54.05% 0.1189 -0.1003)
OKLCHoklch(54.05% 0.156 319.8)
XYZxyz(21.7926, 14.1758, 37.6573)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954BA6 #5CA64B
analogous
#684BA6 #954BA6 #A64B8A
triadic
#954BA6 #A6954B #4BA695
tetradic
#954BA6 #A6684B #5CA64B #4B8AA6
square
#954BA6 #A6684B #5CA64B #4B8AA6
split-complementary
#954BA6 #8AA64B #4BA668
monochromatic
#492552 #6F387C #954BA6 #B070BE #C79AD1

Accessibility & contrast

On white

5.48
#954BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#954BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954BA6
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954BA6#FFFFFF#000000##FFFFFF
##954BA61.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A64A9
Deuteranopia (green-blind)
#526CA4
Tritanopia (blue-blind)
#965871
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #954ba6;
/* rgb */ color: rgb(149, 75, 166);
/* oklch */ color: oklch(54.0% 0.155 319.8);
Tailwind
colors: {
  custom: {
    50: '#b681c1',
    500: '#954ba6',
    950: '#000000',
  },
}
SCSS
$custom: #954ba6;
$custom-light: #b681c1;
$custom-dark: #000000;
JSON
{
  "hex": "#954ba6",
  "rgb": {
    "r": 149,
    "g": 75,
    "b": 166
  },
  "hsl": {
    "h": 288.791,
    "s": 37.759,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54045,
    "c": 0.1555,
    "h": 319.8
  },
  "luminance": 0.14175
}

Semantic roles & 50–950 ramp

primary
#954BA6
secondary
#98BE8F
accent
#CE5A70
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110A12
muted
#807C81

Preview Lab

Preview with #954BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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