#954EBE#954EBE

#954EBE is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.9% C 0.176 H 311.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#954EBE
RGBrgb(149, 78, 190)
HSLhsl(278, 46%, 53%)
HSVhsv(278, 59%, 75%)
CMYKcmyk(21.6%, 58.9%, 0%, 25.5%)
CIE-LABlab(46.39, 48.91, -47.17)
CIE-LCHlch(46.39, 67.95, 316.04°)
OKLaboklab(55.87% 0.1162 -0.1325)
OKLCHoklch(55.87% 0.176 311.2)
XYZxyz(24.4114, 15.5566, 50.4220)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954EBE #77BE4E
analogous
#5D4EBE #954EBE #BE4EAF
triadic
#954EBE #BE954E #4EBE95
tetradic
#954EBE #BE5D4E #77BE4E #4EAFBE
square
#954EBE #BE5D4E #77BE4E #4EAFBE
split-complementary
#954EBE #AFBE4E #4EBE5D
monochromatic
#52276A #743897 #954EBE #B07BCE #CBA8DF

Accessibility & contrast

On white

5.11
#954EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#954EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954EBE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954EBE#FFFFFF#000000##FFFFFF
##954EBE1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276AC2
Deuteranopia (green-blind)
#446FBB
Tritanopia (blue-blind)
#90627F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #954ebe;
/* rgb */ color: rgb(149, 78, 190);
/* oklch */ color: oklch(55.9% 0.176 311.2);
Tailwind
colors: {
  custom: {
    50: '#b783d2',
    500: '#954ebe',
    950: '#000000',
  },
}
SCSS
$custom: #954ebe;
$custom-light: #b783d2;
$custom-dark: #000000;
JSON
{
  "hex": "#954ebe",
  "rgb": {
    "r": 149,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 278.036,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55869,
    "c": 0.17626,
    "h": 311.2
  },
  "luminance": 0.15556
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #954EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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