#954BA2#954BA2

#954BA2 is a mid, vivid purple. Relative luminance 0.140; OKLCH L 53.8% C 0.151 H 321.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#954BA2
RGBrgb(149, 75, 162)
HSLhsl(291, 37%, 46%)
HSVhsv(291, 54%, 64%)
CMYKcmyk(8%, 53.7%, 0%, 36.5%)
CIE-LABlab(44.28, 44.51, -34.05)
CIE-LCHlch(44.28, 56.04, 322.58°)
OKLaboklab(53.83% 0.1184 -0.0943)
OKLCHoklch(53.83% 0.151 321.5)
XYZxyz(21.4314, 14.0313, 35.7548)
Luminance0.1403 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954BA2 #58A24B
analogous
#6A4BA2 #954BA2 #A24B84
triadic
#954BA2 #A2954B #4BA295
tetradic
#954BA2 #A26A4B #58A24B #4B84A2
square
#954BA2 #A26A4B #58A24B #4B84A2
split-complementary
#954BA2 #84A24B #4BA26A
monochromatic
#48244E #6F3878 #954BA2 #B06EBC #C798CF

Accessibility & contrast

On white

5.52
#954BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#954BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954BA2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954BA2#FFFFFF#000000##FFFFFF
##954BA21.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C63A5
Deuteranopia (green-blind)
#546CA0
Tritanopia (blue-blind)
#97576F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #954ba2;
/* rgb */ color: rgb(149, 75, 162);
/* oklch */ color: oklch(53.8% 0.151 321.5);
Tailwind
colors: {
  custom: {
    50: '#b680be',
    500: '#954ba2',
    950: '#000000',
  },
}
SCSS
$custom: #954ba2;
$custom-light: #b680be;
$custom-dark: #000000;
JSON
{
  "hex": "#954ba2",
  "rgb": {
    "r": 149,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 291.034,
    "s": 36.709,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53826,
    "c": 0.15141,
    "h": 321.5
  },
  "luminance": 0.1403
}

Semantic roles & 50–950 ramp

primary
#954BA2
secondary
#94BC8D
accent
#CD5B6C
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110A12
muted
#807C81

Preview Lab

Preview with #954BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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