#954DBE#954DBE

#954DBE is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.7% C 0.178 H 311.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#954DBE
RGBrgb(149, 77, 190)
HSLhsl(278, 47%, 52%)
HSVhsv(278, 59%, 75%)
CMYKcmyk(21.6%, 59.5%, 0%, 25.5%)
CIE-LABlab(46.20, 49.42, -47.47)
CIE-LCHlch(46.20, 68.53, 316.15°)
OKLaboklab(55.73% 0.1175 -0.1334)
OKLCHoklch(55.73% 0.178 311.4)
XYZxyz(24.3409, 15.4156, 50.3985)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954DBE #76BE4D
analogous
#5D4DBE #954DBE #BE4DAF
triadic
#954DBE #BE954D #4DBE95
tetradic
#954DBE #BE5D4D #76BE4D #4DAFBE
square
#954DBE #BE5D4D #76BE4D #4DAFBE
split-complementary
#954DBE #AFBE4D #4DBE5D
monochromatic
#52276A #743797 #954DBE #B07ACE #CAA7DF

Accessibility & contrast

On white

5.14
#954DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#954DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954DBE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954DBE#FFFFFF#000000##FFFFFF
##954DBE1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256AC2
Deuteranopia (green-blind)
#436FBB
Tritanopia (blue-blind)
#90627E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #954dbe;
/* rgb */ color: rgb(149, 77, 190);
/* oklch */ color: oklch(55.7% 0.178 311.4);
Tailwind
colors: {
  custom: {
    50: '#b782d2',
    500: '#954dbe',
    950: '#000000',
  },
}
SCSS
$custom: #954dbe;
$custom-light: #b782d2;
$custom-dark: #000000;
JSON
{
  "hex": "#954dbe",
  "rgb": {
    "r": 149,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 278.23,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55731,
    "c": 0.17776,
    "h": 311.4
  },
  "luminance": 0.15415
}

Semantic roles & 50–950 ramp

primary
#954DBE
secondary
#ADCC9B
accent
#D65282
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #954DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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