#954AE8#954AE8

#954AE8 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.2% C 0.227 H 301.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#954AE8
RGBrgb(149, 74, 232)
HSLhsl(268, 77%, 60%)
HSVhsv(268, 68%, 91%)
CMYKcmyk(35.8%, 68.1%, 0%, 9%)
CIE-LABlab(48.40, 60.57, -67.98)
CIE-LCHlch(48.40, 91.05, 311.70°)
OKLaboklab(58.19% 0.1179 -0.1936)
OKLCHoklch(58.19% 0.227 301.3)
XYZxyz(29.4052, 17.1132, 78.0823)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954AE8 #9DE84A
analogous
#4A4EE8 #954AE8 #E44AE8
triadic
#954AE8 #E8954A #4AE895
tetradic
#954AE8 #E84A4E #9DE84A #4AE8E4
square
#954AE8 #E84A4E #9DE84A #4AE8E4
split-complementary
#954AE8 #E8E44A #4EE84A
monochromatic
#5815A3 #761CD9 #954AE8 #B580EF #D5B7F6

Accessibility & contrast

On white

4.75
#954AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#954AE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954AE8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954AE8#FFFFFF#000000##FFFFFF
##954AE81.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072ED
Deuteranopia (green-blind)
#0072E5
Tritanopia (blue-blind)
#836F94
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #954ae8;
/* rgb */ color: rgb(149, 74, 232);
/* oklch */ color: oklch(58.2% 0.227 301.3);
Tailwind
colors: {
  custom: {
    50: '#ba82f0',
    500: '#954ae8',
    950: '#000000',
  },
}
SCSS
$custom: #954ae8;
$custom-light: #ba82f0;
$custom-dark: #000000;
JSON
{
  "hex": "#954ae8",
  "rgb": {
    "r": 149,
    "g": 74,
    "b": 232
  },
  "hsl": {
    "h": 268.481,
    "s": 77.451,
    "l": 60
  },
  "oklch": {
    "l": 0.58192,
    "c": 0.22669,
    "h": 301.3
  },
  "luminance": 0.17113
}

Semantic roles & 50–950 ramp

primary
#954AE8
secondary
#C8E5A8
accent
#F43499
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #954AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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