#954EC4#954EC4

#954EC4 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.2% C 0.183 H 309.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#954EC4
RGBrgb(149, 78, 196)
HSLhsl(276, 50%, 54%)
HSVhsv(276, 60%, 77%)
CMYKcmyk(24%, 60.2%, 0%, 23.1%)
CIE-LABlab(46.74, 50.26, -50.08)
CIE-LCHlch(46.74, 70.95, 315.10°)
OKLaboklab(56.24% 0.1162 -0.141)
OKLCHoklch(56.24% 0.183 309.5)
XYZxyz(25.0807, 15.8243, 53.9470)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954EC4 #7DC44E
analogous
#5A4EC4 #954EC4 #C44EB8
triadic
#954EC4 #C4954E #4EC495
tetradic
#954EC4 #C45A4E #7DC44E #4EB8C4
square
#954EC4 #C45A4E #7DC44E #4EB8C4
split-complementary
#954EC4 #B8C44E #4EC45A
monochromatic
#542672 #7535A0 #954EC4 #B07CD3 #CCAAE3

Accessibility & contrast

On white

5.04
#954EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#954EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954EC4
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954EC4#FFFFFF#000000##FFFFFF
##954EC41.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6CC8
Deuteranopia (green-blind)
#3F70C1
Tritanopia (blue-blind)
#8F6582
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #954ec4;
/* rgb */ color: rgb(149, 78, 196);
/* oklch */ color: oklch(56.2% 0.183 309.5);
Tailwind
colors: {
  custom: {
    50: '#b783d6',
    500: '#954ec4',
    950: '#000000',
  },
}
SCSS
$custom: #954ec4;
$custom-light: #b783d6;
$custom-dark: #000000;
JSON
{
  "hex": "#954ec4",
  "rgb": {
    "r": 149,
    "g": 78,
    "b": 196
  },
  "hsl": {
    "h": 276.102,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56243,
    "c": 0.18276,
    "h": 309.5
  },
  "luminance": 0.15824
}

Semantic roles & 50–950 ramp

primary
#954EC4
secondary
#B2D09E
accent
#DA4E86
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #954EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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