#954AE5#954AE5

#954AE5 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.0% C 0.224 H 302.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#954AE5
RGBrgb(149, 74, 229)
HSLhsl(269, 75%, 59%)
HSVhsv(269, 68%, 90%)
CMYKcmyk(34.9%, 67.7%, 0%, 10.2%)
CIE-LABlab(48.19, 59.86, -66.63)
CIE-LCHlch(48.19, 89.57, 311.94°)
OKLaboklab(57.97% 0.1183 -0.1896)
OKLCHoklch(57.97% 0.224 302)
XYZxyz(28.9827, 16.9442, 75.8572)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954AE5 #9AE54A
analogous
#4A4DE5 #954AE5 #E24AE5
triadic
#954AE5 #E5954A #4AE595
tetradic
#954AE5 #E54A4D #9AE54A #4AE5E2
square
#954AE5 #E54A4D #9AE54A #4AE5E2
split-complementary
#954AE5 #E5E24A #4DE54A
monochromatic
#58179E #761ED3 #954AE5 #B480ED #D4B5F4

Accessibility & contrast

On white

4.78
#954AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#954AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954AE5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954AE5#FFFFFF#000000##FFFFFF
##954AE51.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#0072E2
Tritanopia (blue-blind)
#846E92
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #954ae5;
/* rgb */ color: rgb(149, 74, 229);
/* oklch */ color: oklch(58.0% 0.224 302.0);
Tailwind
colors: {
  custom: {
    50: '#ba82ee',
    500: '#954ae5',
    950: '#000000',
  },
}
SCSS
$custom: #954ae5;
$custom-light: #ba82ee;
$custom-dark: #000000;
JSON
{
  "hex": "#954ae5",
  "rgb": {
    "r": 149,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 269.032,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57973,
    "c": 0.22353,
    "h": 302
  },
  "luminance": 0.16944
}

Semantic roles & 50–950 ramp

primary
#954AE5
secondary
#C6E4A7
accent
#F13697
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #954AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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