#954AE4#954AE4

#954AE4 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.9% C 0.222 H 302.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#954AE4
RGBrgb(149, 74, 228)
HSLhsl(269, 74%, 59%)
HSVhsv(269, 68%, 89%)
CMYKcmyk(34.6%, 67.5%, 0%, 10.6%)
CIE-LABlab(48.12, 59.62, -66.18)
CIE-LCHlch(48.12, 89.08, 312.02°)
OKLaboklab(57.9% 0.1185 -0.1883)
OKLCHoklch(57.9% 0.222 302.2)
XYZxyz(28.8435, 16.8885, 75.1240)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954AE4 #99E44A
analogous
#4A4CE4 #954AE4 #E24AE4
triadic
#954AE4 #E4954A #4AE495
tetradic
#954AE4 #E44A4C #99E44A #4AE4E2
square
#954AE4 #E44A4C #99E44A #4AE4E2
split-complementary
#954AE4 #E4E24A #4CE44A
monochromatic
#58179C #761FD2 #954AE4 #B47FEC #D3B5F4

Accessibility & contrast

On white

4.80
#954AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#954AE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954AE4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954AE4#FFFFFF#000000##FFFFFF
##954AE41.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E9
Deuteranopia (green-blind)
#0072E1
Tritanopia (blue-blind)
#856E91
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #954ae4;
/* rgb */ color: rgb(149, 74, 228);
/* oklch */ color: oklch(57.9% 0.222 302.2);
Tailwind
colors: {
  custom: {
    50: '#ba82ed',
    500: '#954ae4',
    950: '#000000',
  },
}
SCSS
$custom: #954ae4;
$custom-light: #ba82ed;
$custom-dark: #000000;
JSON
{
  "hex": "#954ae4",
  "rgb": {
    "r": 149,
    "g": 74,
    "b": 228
  },
  "hsl": {
    "h": 269.221,
    "s": 74.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.579,
    "c": 0.22248,
    "h": 302.2
  },
  "luminance": 0.16889
}

Semantic roles & 50–950 ramp

primary
#954AE4
secondary
#C6E3A7
accent
#F13796
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #954AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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