#954AE1#954AE1

#954AE1 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.7% C 0.219 H 302.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#954AE1
RGBrgb(149, 74, 225)
HSLhsl(270, 72%, 59%)
HSVhsv(270, 67%, 88%)
CMYKcmyk(33.8%, 67.1%, 0%, 11.8%)
CIE-LABlab(47.91, 58.92, -64.82)
CIE-LCHlch(47.91, 87.59, 312.27°)
OKLaboklab(57.68% 0.1189 -0.1843)
OKLCHoklch(57.68% 0.219 302.8)
XYZxyz(28.4306, 16.7233, 72.9497)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954AE1 #96E14A
analogous
#4A4AE1 #954AE1 #E04AE1
triadic
#954AE1 #E1954A #4AE195
tetradic
#954AE1 #E14A4A #96E14A #4AE1E0
square
#954AE1 #E14A4A #96E14A #4AE1E0
split-complementary
#954AE1 #E1E04A #4AE14A
monochromatic
#581997 #7622CC #954AE1 #B47EEA #D2B3F2

Accessibility & contrast

On white

4.83
#954AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#954AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954AE1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954AE1#FFFFFF#000000##FFFFFF
##954AE11.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#0071DE
Tritanopia (blue-blind)
#866C90
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #954ae1;
/* rgb */ color: rgb(149, 74, 225);
/* oklch */ color: oklch(57.7% 0.219 302.8);
Tailwind
colors: {
  custom: {
    50: '#b982eb',
    500: '#954ae1',
    950: '#000000',
  },
}
SCSS
$custom: #954ae1;
$custom-light: #b982eb;
$custom-dark: #000000;
JSON
{
  "hex": "#954ae1",
  "rgb": {
    "r": 149,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 269.801,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57684,
    "c": 0.21931,
    "h": 302.8
  },
  "luminance": 0.16723
}

Semantic roles & 50–950 ramp

primary
#954AE1
secondary
#C4E1A6
accent
#EE3994
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #954AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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