#954DC7#954DC7

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

Color values

HEX#954DC7
RGBrgb(149, 77, 199)
HSLhsl(275, 52%, 54%)
HSVhsv(275, 61%, 78%)
CMYKcmyk(25.1%, 61.3%, 0%, 22%)
CIE-LABlab(46.74, 51.44, -51.82)
CIE-LCHlch(46.74, 73.02, 314.79°)
OKLaboklab(56.3% 0.1174 -0.1461)
OKLCHoklch(56.3% 0.187 308.8)
XYZxyz(25.3551, 15.8212, 55.7399)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954DC7 #7FC74D
analogous
#584DC7 #954DC7 #C74DBC
triadic
#954DC7 #C7954D #4DC795
tetradic
#954DC7 #C7584D #7FC74D #4DBCC7
square
#954DC7 #C7584D #7FC74D #4DBCC7
split-complementary
#954DC7 #BCC74D #4DC758
monochromatic
#542575 #7533A3 #954DC7 #B17CD6 #CCAAE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##954DC7#FFFFFF#000000##FFFFFF
##954DC71.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)
#146CCB
Deuteranopia (green-blind)
#3B70C4
Tritanopia (blue-blind)
#8E6583
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #954dc7;
/* rgb */ color: rgb(149, 77, 199);
/* oklch */ color: oklch(56.3% 0.187 308.8);
Tailwind
colors: {
  custom: {
    50: '#b883d9',
    500: '#954dc7',
    950: '#000000',
  },
}
SCSS
$custom: #954dc7;
$custom-light: #b883d9;
$custom-dark: #000000;
JSON
{
  "hex": "#954dc7",
  "rgb": {
    "r": 149,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 275.41,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56298,
    "c": 0.18747,
    "h": 308.8
  },
  "luminance": 0.15821
}

Semantic roles & 50–950 ramp

primary
#954DC7
secondary
#B3D29E
accent
#DC4C87
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B15
muted
#817C83

Preview Lab

Preview with #954DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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