#954DCE#954DCE

#954DCE is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.8% C 0.195 H 306.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#954DCE
RGBrgb(149, 77, 206)
HSLhsl(273, 57%, 55%)
HSVhsv(273, 63%, 81%)
CMYKcmyk(27.7%, 62.6%, 0%, 19.2%)
CIE-LABlab(47.18, 53.04, -55.15)
CIE-LCHlch(47.18, 76.52, 313.88°)
OKLaboklab(56.75% 0.1172 -0.1559)
OKLCHoklch(56.75% 0.195 306.9)
XYZxyz(26.1865, 16.1538, 60.1190)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954DCE #86CE4D
analogous
#544DCE #954DCE #CE4DC7
triadic
#954DCE #CE954D #4DCE95
tetradic
#954DCE #CE544D #86CE4D #4DC7CE
square
#954DCE #CE544D #86CE4D #4DC7CE
split-complementary
#954DCE #C7CE4D #4DCE54
monochromatic
#56237E #7630AE #954DCE #B27DDB #CEADE8

Accessibility & contrast

On white

4.96
#954DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#954DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954DCE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954DCE#FFFFFF#000000##FFFFFF
##954DCE1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#3370CB
Tritanopia (blue-blind)
#8C6786
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #954dce;
/* rgb */ color: rgb(149, 77, 206);
/* oklch */ color: oklch(56.8% 0.195 306.9);
Tailwind
colors: {
  custom: {
    50: '#b883de',
    500: '#954dce',
    950: '#000000',
  },
}
SCSS
$custom: #954dce;
$custom-light: #b883de;
$custom-dark: #000000;
JSON
{
  "hex": "#954dce",
  "rgb": {
    "r": 149,
    "g": 77,
    "b": 206
  },
  "hsl": {
    "h": 273.488,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56754,
    "c": 0.19504,
    "h": 306.9
  },
  "luminance": 0.16154
}

Semantic roles & 50–950 ramp

primary
#954DCE
secondary
#B8D6A1
accent
#E0488B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #954DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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