#954EBB#954EBB

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

Color values

HEX#954EBB
RGBrgb(149, 78, 187)
HSLhsl(279, 44%, 52%)
HSVhsv(279, 58%, 73%)
CMYKcmyk(20.3%, 58.3%, 0%, 26.7%)
CIE-LABlab(46.21, 48.25, -45.70)
CIE-LCHlch(46.21, 66.46, 316.55°)
OKLaboklab(55.69% 0.1161 -0.1282)
OKLCHoklch(55.69% 0.173 312.2)
XYZxyz(24.0869, 15.4268, 48.7129)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954EBB #74BB4E
analogous
#5F4EBB #954EBB #BB4EAA
triadic
#954EBB #BB954E #4EBB95
tetradic
#954EBB #BB5F4E #74BB4E #4EAABB
square
#954EBB #BB5F4E #74BB4E #4EAABB
split-complementary
#954EBB #AABB4E #4EBB5F
monochromatic
#512867 #743993 #954EBB #AF7ACC #CAA6DD

Accessibility & contrast

On white

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

On black

4.09
#954EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##954EBB#FFFFFF#000000##FFFFFF
##954EBB1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6ABE
Deuteranopia (green-blind)
#476FB8
Tritanopia (blue-blind)
#91617D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #954ebb;
/* rgb */ color: rgb(149, 78, 187);
/* oklch */ color: oklch(55.7% 0.173 312.2);
Tailwind
colors: {
  custom: {
    50: '#b783d0',
    500: '#954ebb',
    950: '#000000',
  },
}
SCSS
$custom: #954ebb;
$custom-light: #b783d0;
$custom-dark: #000000;
JSON
{
  "hex": "#954ebb",
  "rgb": {
    "r": 149,
    "g": 78,
    "b": 187
  },
  "hsl": {
    "h": 279.083,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55686,
    "c": 0.173,
    "h": 312.2
  },
  "luminance": 0.15426
}

Semantic roles & 50–950 ramp

primary
#954EBB
secondary
#ABCA9B
accent
#D45480
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #954EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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