#954AB2#954AB2

#954AB2 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.6% C 0.170 H 315.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#954AB2
RGBrgb(149, 74, 178)
HSLhsl(283, 41%, 49%)
HSVhsv(283, 58%, 70%)
CMYKcmyk(16.3%, 58.4%, 0%, 30.2%)
CIE-LABlab(44.94, 48.33, -42.46)
CIE-LCHlch(44.94, 64.33, 318.70°)
OKLaboklab(54.59% 0.121 -0.1187)
OKLCHoklch(54.59% 0.17 315.5)
XYZxyz(22.8778, 14.5022, 43.7049)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954AB2 #67B24A
analogous
#614AB2 #954AB2 #B24A9B
triadic
#954AB2 #B2954A #4AB295
tetradic
#954AB2 #B2614A #67B24A #4A9BB2
square
#954AB2 #B2614A #67B24A #4A9BB2
split-complementary
#954AB2 #9BB24A #4AB261
monochromatic
#4D265C #713887 #954AB2 #AF74C5 #C89FD7

Accessibility & contrast

On white

5.38
#954AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#954AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954AB2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954AB2#FFFFFF#000000##FFFFFF
##954AB21.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D66B5
Deuteranopia (green-blind)
#4A6CAF
Tritanopia (blue-blind)
#935C77
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #954ab2;
/* rgb */ color: rgb(149, 74, 178);
/* oklch */ color: oklch(54.6% 0.170 315.5);
Tailwind
colors: {
  custom: {
    50: '#b780c9',
    500: '#954ab2',
    950: '#000000',
  },
}
SCSS
$custom: #954ab2;
$custom-light: #b780c9;
$custom-dark: #000000;
JSON
{
  "hex": "#954ab2",
  "rgb": {
    "r": 149,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 283.269,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54593,
    "c": 0.16954,
    "h": 315.5
  },
  "luminance": 0.14501
}

Semantic roles & 50–950 ramp

primary
#954AB2
secondary
#A1C494
accent
#D15779
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120A13
muted
#817C82

Preview Lab

Preview with #954AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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