#954DCF#954DCF

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

Color values

HEX#954DCF
RGBrgb(149, 77, 207)
HSLhsl(273, 58%, 56%)
HSVhsv(273, 63%, 81%)
CMYKcmyk(28%, 62.8%, 0%, 18.8%)
CIE-LABlab(47.24, 53.27, -55.63)
CIE-LCHlch(47.24, 77.02, 313.76°)
OKLaboklab(56.82% 0.1171 -0.1573)
OKLCHoklch(56.82% 0.196 306.7)
XYZxyz(26.3084, 16.2026, 60.7608)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954DCF #87CF4D
analogous
#544DCF #954DCF #CF4DC8
triadic
#954DCF #CF954D #4DCF95
tetradic
#954DCF #CF544D #87CF4D #4DC8CF
square
#954DCF #CF544D #87CF4D #4DC8CF
split-complementary
#954DCF #C8CF4D #4DCF54
monochromatic
#56227F #762FAF #954DCF #B27DDC #CEADE9

Accessibility & contrast

On white

4.95
#954DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#954DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954DCF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954DCF#FFFFFF#000000##FFFFFF
##954DCF1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#3271CC
Tritanopia (blue-blind)
#8B6887
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #954dcf;
/* rgb */ color: rgb(149, 77, 207);
/* oklch */ color: oklch(56.8% 0.196 306.7);
Tailwind
colors: {
  custom: {
    50: '#b883de',
    500: '#954dcf',
    950: '#000000',
  },
}
SCSS
$custom: #954dcf;
$custom-light: #b883de;
$custom-dark: #000000;
JSON
{
  "hex": "#954dcf",
  "rgb": {
    "r": 149,
    "g": 77,
    "b": 207
  },
  "hsl": {
    "h": 273.231,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56821,
    "c": 0.19612,
    "h": 306.7
  },
  "luminance": 0.16202
}

Semantic roles & 50–950 ramp

primary
#954DCF
secondary
#B9D7A1
accent
#E1478C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #954DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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