#954CAF#954CAF

#954CAF is a mid, vivid purple. Relative luminance 0.147; OKLCH L 54.7% C 0.163 H 316.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#954CAF
RGBrgb(149, 76, 175)
HSLhsl(284, 39%, 49%)
HSVhsv(284, 57%, 69%)
CMYKcmyk(14.9%, 56.6%, 0%, 31.4%)
CIE-LABlab(45.16, 46.68, -40.35)
CIE-LCHlch(45.16, 61.70, 319.16°)
OKLaboklab(54.7% 0.1182 -0.1126)
OKLCHoklch(54.7% 0.163 316.4)
XYZxyz(22.7156, 14.6544, 42.1811)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954CAF #66AF4C
analogous
#644CAF #954CAF #AF4C98
triadic
#954CAF #AF954C #4CAF95
tetradic
#954CAF #AF644C #66AF4C #4C98AF
square
#954CAF #AF644C #66AF4C #4C98AF
split-complementary
#954CAF #98AF4C #4CAF64
monochromatic
#4C275A #713984 #954CAF #AF75C3 #C7A0D6

Accessibility & contrast

On white

5.34
#954CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#954CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954CAF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954CAF#FFFFFF#000000##FFFFFF
##954CAF1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B2
Deuteranopia (green-blind)
#4D6DAC
Tritanopia (blue-blind)
#945C76
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #954caf;
/* rgb */ color: rgb(149, 76, 175);
/* oklch */ color: oklch(54.7% 0.163 316.4);
Tailwind
colors: {
  custom: {
    50: '#b781c7',
    500: '#954caf',
    950: '#000000',
  },
}
SCSS
$custom: #954caf;
$custom-light: #b781c7;
$custom-dark: #000000;
JSON
{
  "hex": "#954caf",
  "rgb": {
    "r": 149,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 284.242,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54695,
    "c": 0.16328,
    "h": 316.4
  },
  "luminance": 0.14654
}

Semantic roles & 50–950 ramp

primary
#954CAF
secondary
#A0C294
accent
#CF5878
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #954CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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