#954AAA#954AAA

#954AAA is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.1% C 0.161 H 318.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#954AAA
RGBrgb(149, 74, 170)
HSLhsl(287, 39%, 48%)
HSVhsv(287, 56%, 67%)
CMYKcmyk(12.4%, 56.5%, 0%, 33.3%)
CIE-LABlab(44.50, 46.65, -38.44)
CIE-LCHlch(44.50, 60.45, 320.51°)
OKLaboklab(54.13% 0.1206 -0.107)
OKLCHoklch(54.13% 0.161 318.4)
XYZxyz(22.0979, 14.1903, 39.5974)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954AAA #5FAA4A
analogous
#654AAA #954AAA #AA4A8F
triadic
#954AAA #AA954A #4AAA95
tetradic
#954AAA #AA654A #5FAA4A #4A8FAA
square
#954AAA #AA654A #5FAA4A #4A8FAA
split-complementary
#954AAA #8FAA4A #4AAA65
monochromatic
#4A2555 #70377F #954AAA #AF70C1 #C79BD3

Accessibility & contrast

On white

5.47
#954AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#954AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954AAA
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954AAA#FFFFFF#000000##FFFFFF
##954AAA1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3564AD
Deuteranopia (green-blind)
#4F6CA7
Tritanopia (blue-blind)
#955973
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #954aaa;
/* rgb */ color: rgb(149, 74, 170);
/* oklch */ color: oklch(54.1% 0.161 318.4);
Tailwind
colors: {
  custom: {
    50: '#b680c4',
    500: '#954aaa',
    950: '#000000',
  },
}
SCSS
$custom: #954aaa;
$custom-light: #b680c4;
$custom-dark: #000000;
JSON
{
  "hex": "#954aaa",
  "rgb": {
    "r": 149,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 286.875,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54129,
    "c": 0.16123,
    "h": 318.4
  },
  "luminance": 0.14189
}

Semantic roles & 50–950 ramp

primary
#954AAA
secondary
#9AC090
accent
#CF5973
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A12
muted
#807C81

Preview Lab

Preview with #954AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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