#954BA8#954BA8

#954BA8 is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.2% C 0.158 H 319.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#954BA8
RGBrgb(149, 75, 168)
HSLhsl(288, 38%, 48%)
HSVhsv(288, 55%, 66%)
CMYKcmyk(11.3%, 55.4%, 0%, 34.1%)
CIE-LABlab(44.59, 45.73, -37.12)
CIE-LCHlch(44.59, 58.90, 320.93°)
OKLaboklab(54.16% 0.1191 -0.1032)
OKLCHoklch(54.16% 0.158 319.1)
XYZxyz(21.9775, 14.2497, 38.6310)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954BA8 #5EA84B
analogous
#664BA8 #954BA8 #A84B8C
triadic
#954BA8 #A8954B #4BA895
tetradic
#954BA8 #A8664B #5EA84B #4B8CA8
square
#954BA8 #A8664B #5EA84B #4B8CA8
split-complementary
#954BA8 #8CA84B #4BA866
monochromatic
#4A2553 #6F387E #954BA8 #AF71BF #C79BD2

Accessibility & contrast

On white

5.45
#954BA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#954BA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954BA8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954BA8#FFFFFF#000000##FFFFFF
##954BA81.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3864AB
Deuteranopia (green-blind)
#516CA6
Tritanopia (blue-blind)
#955972
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #954ba8;
/* rgb */ color: rgb(149, 75, 168);
/* oklch */ color: oklch(54.2% 0.158 319.1);
Tailwind
colors: {
  custom: {
    50: '#b681c2',
    500: '#954ba8',
    950: '#000000',
  },
}
SCSS
$custom: #954ba8;
$custom-light: #b681c2;
$custom-dark: #000000;
JSON
{
  "hex": "#954ba8",
  "rgb": {
    "r": 149,
    "g": 75,
    "b": 168
  },
  "hsl": {
    "h": 287.742,
    "s": 38.272,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54156,
    "c": 0.15757,
    "h": 319.1
  },
  "luminance": 0.14249
}

Semantic roles & 50–950 ramp

primary
#954BA8
secondary
#9ABF90
accent
#CE5A71
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A12
muted
#807C81

Preview Lab

Preview with #954BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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