#954CA2#954CA2

#954CA2 is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.0% C 0.150 H 321.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#954CA2
RGBrgb(149, 76, 162)
HSLhsl(291, 36%, 47%)
HSVhsv(291, 53%, 64%)
CMYKcmyk(8%, 53.1%, 0%, 36.5%)
CIE-LABlab(44.47, 43.99, -33.75)
CIE-LCHlch(44.47, 55.44, 322.51°)
OKLaboklab(53.97% 0.117 -0.0934)
OKLCHoklch(53.97% 0.15 321.4)
XYZxyz(21.4997, 14.1680, 35.7776)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954CA2 #59A24C
analogous
#6A4CA2 #954CA2 #A24C84
triadic
#954CA2 #A2954C #4CA295
tetradic
#954CA2 #A26A4C #59A24C #4C84A2
square
#954CA2 #A26A4C #59A24C #4C84A2
split-complementary
#954CA2 #84A24C #4CA26A
monochromatic
#48254F #6F3878 #954CA2 #B070BC #C799CF

Accessibility & contrast

On white

5.48
#954CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#954CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954CA2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954CA2#FFFFFF#000000##FFFFFF
##954CA21.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E64A5
Deuteranopia (green-blind)
#556CA0
Tritanopia (blue-blind)
#965870
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #954ca2;
/* rgb */ color: rgb(149, 76, 162);
/* oklch */ color: oklch(54.0% 0.150 321.4);
Tailwind
colors: {
  custom: {
    50: '#b681be',
    500: '#954ca2',
    950: '#000000',
  },
}
SCSS
$custom: #954ca2;
$custom-light: #b681be;
$custom-dark: #000000;
JSON
{
  "hex": "#954ca2",
  "rgb": {
    "r": 149,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 290.93,
    "s": 36.134,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5397,
    "c": 0.14976,
    "h": 321.4
  },
  "luminance": 0.14167
}

Semantic roles & 50–950 ramp

primary
#954CA2
secondary
#95BC8E
accent
#CC5C6D
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110A12
muted
#807C81

Preview Lab

Preview with #954CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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