#954EC7#954EC7

#954EC7 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.4% C 0.186 H 308.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#954EC7
RGBrgb(149, 78, 199)
HSLhsl(275, 52%, 54%)
HSVhsv(275, 61%, 78%)
CMYKcmyk(25.1%, 60.8%, 0%, 22%)
CIE-LABlab(46.92, 50.94, -51.52)
CIE-LCHlch(46.92, 72.45, 314.67°)
OKLaboklab(56.43% 0.1162 -0.1453)
OKLCHoklch(56.43% 0.186 308.7)
XYZxyz(25.4256, 15.9623, 55.7634)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954EC7 #80C74E
analogous
#594EC7 #954EC7 #C74EBC
triadic
#954EC7 #C7954E #4EC795
tetradic
#954EC7 #C7594E #80C74E #4EBCC7
square
#954EC7 #C7594E #80C74E #4EBCC7
split-complementary
#954EC7 #BCC74E #4EC759
monochromatic
#542575 #7634A4 #954EC7 #B17CD6 #CDABE4

Accessibility & contrast

On white

5.01
#954EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#954EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954EC7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954EC7#FFFFFF#000000##FFFFFF
##954EC71.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186CCB
Deuteranopia (green-blind)
#3C70C4
Tritanopia (blue-blind)
#8E6683
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #954ec7;
/* rgb */ color: rgb(149, 78, 199);
/* oklch */ color: oklch(56.4% 0.186 308.7);
Tailwind
colors: {
  custom: {
    50: '#b883d9',
    500: '#954ec7',
    950: '#000000',
  },
}
SCSS
$custom: #954ec7;
$custom-light: #b883d9;
$custom-dark: #000000;
JSON
{
  "hex": "#954ec7",
  "rgb": {
    "r": 149,
    "g": 78,
    "b": 199
  },
  "hsl": {
    "h": 275.207,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56433,
    "c": 0.18603,
    "h": 308.7
  },
  "luminance": 0.15962
}

Semantic roles & 50–950 ramp

primary
#954EC7
secondary
#B4D29F
accent
#DB4C87
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B15
muted
#817C83

Preview Lab

Preview with #954EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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