#954FE4#954FE4

#954FE4 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.5% C 0.216 H 301.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#954FE4
RGBrgb(149, 79, 228)
HSLhsl(268, 73%, 60%)
HSVhsv(268, 65%, 89%)
CMYKcmyk(34.6%, 65.4%, 0%, 10.6%)
CIE-LABlab(48.99, 57.23, -64.77)
CIE-LCHlch(48.99, 86.43, 311.46°)
OKLaboklab(58.52% 0.1132 -0.1842)
OKLCHoklch(58.52% 0.216 301.6)
XYZxyz(29.1907, 17.5828, 75.2397)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954FE4 #9EE44F
analogous
#4F53E4 #954FE4 #E04FE4
triadic
#954FE4 #E4954F #4FE495
tetradic
#954FE4 #E44F53 #9EE44F #4FE4E0
square
#954FE4 #E44F53 #9EE44F #4FE4E0
split-complementary
#954FE4 #E4E04F #53E44F
monochromatic
#5819A0 #7521D5 #954FE4 #B584EC #D5B9F4

Accessibility & contrast

On white

4.65
#954FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#954FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #954FE4
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954FE4#FFFFFF#000000##FFFFFF
##954FE41.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#0374E1
Tritanopia (blue-blind)
#847193
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #954fe4;
/* rgb */ color: rgb(149, 79, 228);
/* oklch */ color: oklch(58.5% 0.216 301.6);
Tailwind
colors: {
  custom: {
    50: '#b985ed',
    500: '#954fe4',
    950: '#000000',
  },
}
SCSS
$custom: #954fe4;
$custom-light: #b985ed;
$custom-dark: #000000;
JSON
{
  "hex": "#954fe4",
  "rgb": {
    "r": 149,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 268.188,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58522,
    "c": 0.21622,
    "h": 301.6
  },
  "luminance": 0.17583
}

Semantic roles & 50–950 ramp

primary
#954FE4
secondary
#C9E4AB
accent
#D61079
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #954FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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