#954ACC#954ACC

#954ACC is a mid, vivid violet. Relative luminance 0.156; OKLCH L 56.2% C 0.197 H 307.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#954ACC
RGBrgb(149, 74, 204)
HSLhsl(275, 56%, 55%)
HSVhsv(275, 64%, 80%)
CMYKcmyk(27%, 63.7%, 0%, 20%)
CIE-LABlab(46.51, 54.06, -55.08)
CIE-LCHlch(46.51, 77.17, 314.47°)
OKLaboklab(56.23% 0.1208 -0.1557)
OKLCHoklch(56.23% 0.197 307.8)
XYZxyz(25.7400, 15.6471, 58.7792)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954ACC #81CC4A
analogous
#544ACC #954ACC #CC4AC2
triadic
#954ACC #CC954A #4ACC95
tetradic
#954ACC #CC544A #81CC4A #4AC2CC
square
#954ACC #CC544A #81CC4A #4AC2CC
split-complementary
#954ACC #C2CC4A #4ACC54
monochromatic
#552279 #7630A9 #954ACC #B17AD9 #CDA9E7

Accessibility & contrast

On white

5.09
#954ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#954ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954ACC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954ACC#FFFFFF#000000##FFFFFF
##954ACC1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#326FC9
Tritanopia (blue-blind)
#8C6584
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #954acc;
/* rgb */ color: rgb(149, 74, 204);
/* oklch */ color: oklch(56.2% 0.197 307.8);
Tailwind
colors: {
  custom: {
    50: '#b881dc',
    500: '#954acc',
    950: '#000000',
  },
}
SCSS
$custom: #954acc;
$custom-light: #b881dc;
$custom-dark: #000000;
JSON
{
  "hex": "#954acc",
  "rgb": {
    "r": 149,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 274.615,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56231,
    "c": 0.19705,
    "h": 307.8
  },
  "luminance": 0.15647
}

Semantic roles & 50–950 ramp

primary
#954ACC
secondary
#B5D49D
accent
#DF4888
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #954ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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