#954CD5#954CD5

#954CD5 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.1% C 0.204 H 305.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#954CD5
RGBrgb(149, 76, 213)
HSLhsl(272, 62%, 57%)
HSVhsv(272, 64%, 84%)
CMYKcmyk(30%, 64.3%, 0%, 16.5%)
CIE-LABlab(47.45, 55.15, -58.73)
CIE-LCHlch(47.45, 80.57, 313.20°)
OKLaboklab(57.09% 0.1179 -0.1664)
OKLCHoklch(57.09% 0.204 305.3)
XYZxyz(26.9865, 16.3627, 64.6745)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954CD5 #8CD54C
analogous
#514CD5 #954CD5 #D54CD0
triadic
#954CD5 #D5954C #4CD595
tetradic
#954CD5 #D5514C #8CD54C #4CD0D5
square
#954CD5 #D5514C #8CD54C #4CD0D5
split-complementary
#954CD5 #D0D54C #4CD551
monochromatic
#572087 #772BB9 #954CD5 #B27EE1 #D0AFEC

Accessibility & contrast

On white

4.92
#954CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#954CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954CD5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954CD5#FFFFFF#000000##FFFFFF
##954CD51.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED9
Deuteranopia (green-blind)
#2871D2
Tritanopia (blue-blind)
#8A698A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #954cd5;
/* rgb */ color: rgb(149, 76, 213);
/* oklch */ color: oklch(57.1% 0.204 305.3);
Tailwind
colors: {
  custom: {
    50: '#b982e3',
    500: '#954cd5',
    950: '#000000',
  },
}
SCSS
$custom: #954cd5;
$custom-light: #b982e3;
$custom-dark: #000000;
JSON
{
  "hex": "#954cd5",
  "rgb": {
    "r": 149,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 271.971,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57094,
    "c": 0.20395,
    "h": 305.3
  },
  "luminance": 0.16363
}

Semantic roles & 50–950 ramp

primary
#954CD5
secondary
#BDDAA2
accent
#E5438F
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #954CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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