#954DD5#954DD5

#954DD5 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.2% C 0.203 H 305.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#954DD5
RGBrgb(149, 77, 213)
HSLhsl(272, 62%, 57%)
HSVhsv(272, 64%, 84%)
CMYKcmyk(30%, 63.8%, 0%, 16.5%)
CIE-LABlab(47.63, 54.66, -58.44)
CIE-LCHlch(47.63, 80.02, 313.09°)
OKLaboklab(57.22% 0.1168 -0.1656)
OKLCHoklch(57.22% 0.203 305.2)
XYZxyz(27.0559, 16.5016, 64.6977)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954DD5 #8DD54D
analogous
#514DD5 #954DD5 #D54DD1
triadic
#954DD5 #D5954D #4DD595
tetradic
#954DD5 #D5514D #8DD54D #4DD1D5
square
#954DD5 #D5514D #8DD54D #4DD1D5
split-complementary
#954DD5 #D1D54D #4DD551
monochromatic
#572088 #772CB9 #954DD5 #B27FE1 #D0B0EC

Accessibility & contrast

On white

4.88
#954DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#954DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954DD5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954DD5#FFFFFF#000000##FFFFFF
##954DD51.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#2971D2
Tritanopia (blue-blind)
#8A6A8A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #954dd5;
/* rgb */ color: rgb(149, 77, 213);
/* oklch */ color: oklch(57.2% 0.203 305.2);
Tailwind
colors: {
  custom: {
    50: '#b883e3',
    500: '#954dd5',
    950: '#000000',
  },
}
SCSS
$custom: #954dd5;
$custom-light: #b883e3;
$custom-dark: #000000;
JSON
{
  "hex": "#954dd5",
  "rgb": {
    "r": 149,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 271.765,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57223,
    "c": 0.2026,
    "h": 305.2
  },
  "luminance": 0.16501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #954DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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