#954AAF#954AAF

#954AAF is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.4% C 0.166 H 316.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#954AAF
RGBrgb(149, 74, 175)
HSLhsl(285, 41%, 49%)
HSVhsv(285, 58%, 69%)
CMYKcmyk(14.9%, 57.7%, 0%, 31.4%)
CIE-LABlab(44.78, 47.70, -40.96)
CIE-LCHlch(44.78, 62.87, 319.35°)
OKLaboklab(54.42% 0.1209 -0.1144)
OKLCHoklch(54.42% 0.166 316.6)
XYZxyz(22.5799, 14.3831, 42.1359)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954AAF #64AF4A
analogous
#634AAF #954AAF #AF4A97
triadic
#954AAF #AF954A #4AAF95
tetradic
#954AAF #AF634A #64AF4A #4A97AF
square
#954AAF #AF634A #64AF4A #4A97AF
split-complementary
#954AAF #97AF4A #4AAF63
monochromatic
#4C2659 #703884 #954AAF #AF73C4 #C79ED6

Accessibility & contrast

On white

5.42
#954AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#954AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954AAF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954AAF#FFFFFF#000000##FFFFFF
##954AAF1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#4C6CAC
Tritanopia (blue-blind)
#945B75
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #954aaf;
/* rgb */ color: rgb(149, 74, 175);
/* oklch */ color: oklch(54.4% 0.166 316.6);
Tailwind
colors: {
  custom: {
    50: '#b780c7',
    500: '#954aaf',
    950: '#000000',
  },
}
SCSS
$custom: #954aaf;
$custom-light: #b780c7;
$custom-dark: #000000;
JSON
{
  "hex": "#954aaf",
  "rgb": {
    "r": 149,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 284.554,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54417,
    "c": 0.16642,
    "h": 316.6
  },
  "luminance": 0.14382
}

Semantic roles & 50–950 ramp

primary
#954AAF
secondary
#9FC292
accent
#D05777
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120A13
muted
#817C82

Preview Lab

Preview with #954AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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