#954AD8#954AD8

#954AD8 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.210 H 304.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#954AD8
RGBrgb(149, 74, 216)
HSLhsl(272, 65%, 57%)
HSVhsv(272, 66%, 85%)
CMYKcmyk(31%, 65.7%, 0%, 15.3%)
CIE-LABlab(47.29, 56.81, -60.69)
CIE-LCHlch(47.29, 83.13, 313.11°)
OKLaboklab(57.05% 0.1199 -0.1722)
OKLCHoklch(57.05% 0.21 304.8)
XYZxyz(27.2351, 16.2451, 66.6533)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954AD8 #8DD84A
analogous
#4E4AD8 #954AD8 #D84AD4
triadic
#954AD8 #D8954A #4AD895
tetradic
#954AD8 #D84E4A #8DD84A #4AD4D8
square
#954AD8 #D84E4A #8DD84A #4AD4D8
split-complementary
#954AD8 #D4D84A #4AD84E
monochromatic
#571E8A #7729BC #954AD8 #B27CE3 #D0AFEE

Accessibility & contrast

On white

4.94
#954AD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#954AD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954AD8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954AD8#FFFFFF#000000##FFFFFF
##954AD81.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#1E70D5
Tritanopia (blue-blind)
#89698B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #954ad8;
/* rgb */ color: rgb(149, 74, 216);
/* oklch */ color: oklch(57.0% 0.210 304.8);
Tailwind
colors: {
  custom: {
    50: '#b981e5',
    500: '#954ad8',
    950: '#000000',
  },
}
SCSS
$custom: #954ad8;
$custom-light: #b981e5;
$custom-dark: #000000;
JSON
{
  "hex": "#954ad8",
  "rgb": {
    "r": 149,
    "g": 74,
    "b": 216
  },
  "hsl": {
    "h": 271.69,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57048,
    "c": 0.20979,
    "h": 304.8
  },
  "luminance": 0.16245
}

Semantic roles & 50–950 ramp

primary
#954AD8
secondary
#BDDCA2
accent
#E8408F
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #954AD8

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

Preview Lab → · Contrast checker → · Palette generator →

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