#954AE3#954AE3

#954AE3 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.8% C 0.221 H 302.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#954AE3
RGBrgb(149, 74, 227)
HSLhsl(269, 73%, 59%)
HSVhsv(269, 67%, 89%)
CMYKcmyk(34.4%, 67.4%, 0%, 11%)
CIE-LABlab(48.05, 59.39, -65.72)
CIE-LCHlch(48.05, 88.58, 312.10°)
OKLaboklab(57.83% 0.1186 -0.187)
OKLCHoklch(57.83% 0.221 302.4)
XYZxyz(28.7051, 16.8331, 74.3950)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954AE3 #98E34A
analogous
#4A4CE3 #954AE3 #E24AE3
triadic
#954AE3 #E3954A #4AE395
tetradic
#954AE3 #E34A4C #98E34A #4AE3E2
square
#954AE3 #E34A4C #98E34A #4AE3E2
split-complementary
#954AE3 #E3E24A #4CE34A
monochromatic
#58189B #7620D0 #954AE3 #B47FEB #D3B4F3

Accessibility & contrast

On white

4.81
#954AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#954AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954AE3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954AE3#FFFFFF#000000##FFFFFF
##954AE31.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E8
Deuteranopia (green-blind)
#0071E0
Tritanopia (blue-blind)
#856D91
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #954ae3;
/* rgb */ color: rgb(149, 74, 227);
/* oklch */ color: oklch(57.8% 0.221 302.4);
Tailwind
colors: {
  custom: {
    50: '#ba82ed',
    500: '#954ae3',
    950: '#000000',
  },
}
SCSS
$custom: #954ae3;
$custom-light: #ba82ed;
$custom-dark: #000000;
JSON
{
  "hex": "#954ae3",
  "rgb": {
    "r": 149,
    "g": 74,
    "b": 227
  },
  "hsl": {
    "h": 269.412,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57828,
    "c": 0.22142,
    "h": 302.4
  },
  "luminance": 0.16833
}

Semantic roles & 50–950 ramp

primary
#954AE3
secondary
#C5E2A6
accent
#F03896
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #954AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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