#954AD3#954AD3

#954AD3 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.7% C 0.204 H 306.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#954AD3
RGBrgb(149, 74, 211)
HSLhsl(273, 61%, 56%)
HSVhsv(273, 65%, 83%)
CMYKcmyk(29.4%, 64.9%, 0%, 17.3%)
CIE-LABlab(46.96, 55.66, -58.37)
CIE-LCHlch(46.96, 80.65, 313.64°)
OKLaboklab(56.7% 0.1203 -0.1653)
OKLCHoklch(56.7% 0.204 306)
XYZxyz(26.5985, 15.9905, 63.3006)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954AD3 #88D34A
analogous
#504AD3 #954AD3 #D34ACC
triadic
#954AD3 #D3954A #4AD395
tetradic
#954AD3 #D3504A #88D34A #4ACCD3
square
#954AD3 #D3504A #88D34A #4ACCD3
split-complementary
#954AD3 #CCD34A #4AD350
monochromatic
#562083 #762CB4 #954AD3 #B27BDF #CFACEB

Accessibility & contrast

On white

5.00
#954AD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#954AD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954AD3
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954AD3#FFFFFF#000000##FFFFFF
##954AD31.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#2870D0
Tritanopia (blue-blind)
#8A6788
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #954ad3;
/* rgb */ color: rgb(149, 74, 211);
/* oklch */ color: oklch(56.7% 0.204 306.0);
Tailwind
colors: {
  custom: {
    50: '#b881e1',
    500: '#954ad3',
    950: '#000000',
  },
}
SCSS
$custom: #954ad3;
$custom-light: #b881e1;
$custom-dark: #000000;
JSON
{
  "hex": "#954ad3",
  "rgb": {
    "r": 149,
    "g": 74,
    "b": 211
  },
  "hsl": {
    "h": 272.847,
    "s": 60.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56703,
    "c": 0.20448,
    "h": 306
  },
  "luminance": 0.1599
}

Semantic roles & 50–950 ramp

primary
#954AD3
secondary
#BAD9A0
accent
#E4448C
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #954AD3

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

Preview Lab → · Contrast checker → · Palette generator →

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