#954AC8#954AC8

#954AC8 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 56.0% C 0.193 H 308.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#954AC8
RGBrgb(149, 74, 200)
HSLhsl(276, 53%, 54%)
HSVhsv(276, 63%, 78%)
CMYKcmyk(25.5%, 63%, 0%, 21.6%)
CIE-LABlab(46.25, 53.15, -53.18)
CIE-LCHlch(46.25, 75.19, 314.99°)
OKLaboklab(55.97% 0.121 -0.1501)
OKLCHoklch(55.97% 0.193 308.9)
XYZxyz(25.2665, 15.4577, 56.2850)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954AC8 #7DC84A
analogous
#564AC8 #954AC8 #C84ABC
triadic
#954AC8 #C8954A #4AC895
tetradic
#954AC8 #C8564A #7DC84A #4ABCC8
square
#954AC8 #C8564A #7DC84A #4ABCC8
split-complementary
#954AC8 #BCC84A #4AC856
monochromatic
#542374 #7532A3 #954AC8 #B079D6 #CCA8E5

Accessibility & contrast

On white

5.13
#954AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#954AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954AC8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954AC8#FFFFFF#000000##FFFFFF
##954AC81.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#376FC5
Tritanopia (blue-blind)
#8E6382
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #954ac8;
/* rgb */ color: rgb(149, 74, 200);
/* oklch */ color: oklch(56.0% 0.193 308.9);
Tailwind
colors: {
  custom: {
    50: '#b881d9',
    500: '#954ac8',
    950: '#000000',
  },
}
SCSS
$custom: #954ac8;
$custom-light: #b881d9;
$custom-dark: #000000;
JSON
{
  "hex": "#954ac8",
  "rgb": {
    "r": 149,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 275.714,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55967,
    "c": 0.19279,
    "h": 308.9
  },
  "luminance": 0.15457
}

Semantic roles & 50–950 ramp

primary
#954AC8
secondary
#B2D29C
accent
#DD4B86
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #954AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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