#954FAC#954FAC

#954FAC is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.0% C 0.155 H 317.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#954FAC
RGBrgb(149, 79, 172)
HSLhsl(285, 37%, 49%)
HSVhsv(285, 54%, 67%)
CMYKcmyk(13.4%, 54.1%, 0%, 32.5%)
CIE-LABlab(45.58, 44.49, -37.92)
CIE-LCHlch(45.58, 58.46, 319.56°)
OKLaboklab(54.95% 0.1139 -0.1055)
OKLCHoklch(54.95% 0.155 317.2)
XYZxyz(22.6357, 14.9609, 40.7171)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954FAC #66AC4F
analogous
#674FAC #954FAC #AC4F95
triadic
#954FAC #AC954F #4FAC95
tetradic
#954FAC #AC674F #66AC4F #4F95AC
square
#954FAC #AC674F #66AC4F #4F95AC
split-complementary
#954FAC #95AC4F #4FAC67
monochromatic
#4C2858 #713C82 #954FAC #AF77C1 #C7A1D4

Accessibility & contrast

On white

5.26
#954FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#954FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954FAC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954FAC#FFFFFF#000000##FFFFFF
##954FAC1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B67AF
Deuteranopia (green-blind)
#526EAA
Tritanopia (blue-blind)
#945D76
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #954fac;
/* rgb */ color: rgb(149, 79, 172);
/* oklch */ color: oklch(55.0% 0.155 317.2);
Tailwind
colors: {
  custom: {
    50: '#b683c5',
    500: '#954fac',
    950: '#000000',
  },
}
SCSS
$custom: #954fac;
$custom-light: #b683c5;
$custom-dark: #000000;
JSON
{
  "hex": "#954fac",
  "rgb": {
    "r": 149,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 285.161,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54954,
    "c": 0.15528,
    "h": 317.2
  },
  "luminance": 0.1496
}

Semantic roles & 50–950 ramp

primary
#954FAC
secondary
#A0C196
accent
#CD5B77
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #954FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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