#954ABA#954ABA

#954ABA is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.1% C 0.178 H 312.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#954ABA
RGBrgb(149, 74, 186)
HSLhsl(280, 45%, 51%)
HSVhsv(280, 60%, 73%)
CMYKcmyk(19.9%, 60.2%, 0%, 27.1%)
CIE-LABlab(45.40, 50.05, -46.41)
CIE-LCHlch(45.40, 68.26, 317.16°)
OKLaboklab(55.08% 0.1212 -0.1303)
OKLCHoklch(55.08% 0.178 312.9)
XYZxyz(23.7046, 14.8329, 48.0592)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954ABA #6FBA4A
analogous
#5D4ABA #954ABA #BA4AA7
triadic
#954ABA #BA954A #4ABA95
tetradic
#954ABA #BA5D4A #6FBA4A #4AA7BA
square
#954ABA #BA5D4A #6FBA4A #4AA7BA
split-complementary
#954ABA #A7BA4A #4ABA5D
monochromatic
#4F2664 #733790 #954ABA #AF76CB #C9A3DC

Accessibility & contrast

On white

5.29
#954ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#954ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954ABA
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954ABA#FFFFFF#000000##FFFFFF
##954ABA1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2467BE
Deuteranopia (green-blind)
#446DB7
Tritanopia (blue-blind)
#915E7B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #954aba;
/* rgb */ color: rgb(149, 74, 186);
/* oklch */ color: oklch(55.1% 0.178 312.9);
Tailwind
colors: {
  custom: {
    50: '#b780cf',
    500: '#954aba',
    950: '#000000',
  },
}
SCSS
$custom: #954aba;
$custom-light: #b780cf;
$custom-dark: #000000;
JSON
{
  "hex": "#954aba",
  "rgb": {
    "r": 149,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 280.179,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55077,
    "c": 0.17796,
    "h": 312.9
  },
  "luminance": 0.14832
}

Semantic roles & 50–950 ramp

primary
#954ABA
secondary
#A7C997
accent
#D5537E
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #954ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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