#954CDE#954CDE

#954CDE is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.7% C 0.214 H 303.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#954CDE
RGBrgb(149, 76, 222)
HSLhsl(270, 69%, 58%)
HSVhsv(270, 66%, 87%)
CMYKcmyk(32.9%, 65.8%, 0%, 12.9%)
CIE-LABlab(48.05, 57.26, -62.89)
CIE-LCHlch(48.05, 85.05, 312.32°)
OKLaboklab(57.72% 0.1171 -0.1786)
OKLCHoklch(57.72% 0.214 303.2)
XYZxyz(28.1606, 16.8324, 70.8585)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954CDE #95DE4C
analogous
#4C4CDE #954CDE #DE4CDE
triadic
#954CDE #DE954C #4CDE95
tetradic
#954CDE #DE4C4C #95DE4C #4CDEDE
square
#954CDE #DE4C4C #95DE4C #4CDEDE
split-complementary
#954CDE #DEDE4C #4CDE4C
monochromatic
#581B94 #7625C8 #954CDE #B480E8 #D2B3F1

Accessibility & contrast

On white

4.81
#954CDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#954CDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954CDE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954CDE#FFFFFF#000000##FFFFFF
##954CDE1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E2
Deuteranopia (green-blind)
#1272DB
Tritanopia (blue-blind)
#876D8F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #954cde;
/* rgb */ color: rgb(149, 76, 222);
/* oklch */ color: oklch(57.7% 0.214 303.2);
Tailwind
colors: {
  custom: {
    50: '#b983e9',
    500: '#954cde',
    950: '#000000',
  },
}
SCSS
$custom: #954cde;
$custom-light: #b983e9;
$custom-dark: #000000;
JSON
{
  "hex": "#954cde",
  "rgb": {
    "r": 149,
    "g": 76,
    "b": 222
  },
  "hsl": {
    "h": 270,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57718,
    "c": 0.2136,
    "h": 303.2
  },
  "luminance": 0.16832
}

Semantic roles & 50–950 ramp

primary
#954CDE
secondary
#C3E0A6
accent
#EC3C94
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #954CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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