#954EBF#954EBF

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

Color values

HEX#954EBF
RGBrgb(149, 78, 191)
HSLhsl(278, 47%, 53%)
HSVhsv(278, 59%, 75%)
CMYKcmyk(22%, 59.2%, 0%, 25.1%)
CIE-LABlab(46.45, 49.14, -47.66)
CIE-LCHlch(46.45, 68.45, 315.88°)
OKLaboklab(55.93% 0.1162 -0.134)
OKLCHoklch(55.93% 0.177 310.9)
XYZxyz(24.5210, 15.6005, 50.9996)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954EBF #78BF4E
analogous
#5C4EBF #954EBF #BF4EB1
triadic
#954EBF #BF954E #4EBF95
tetradic
#954EBF #BF5C4E #78BF4E #4EB1BF
square
#954EBF #BF5C4E #78BF4E #4EB1BF
split-complementary
#954EBF #B1BF4E #4EBF5C
monochromatic
#52276C #743799 #954EBF #B07BCF #CBA8E0

Accessibility & contrast

On white

5.10
#954EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#954EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954EBF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954EBF#FFFFFF#000000##FFFFFF
##954EBF1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266BC3
Deuteranopia (green-blind)
#446FBC
Tritanopia (blue-blind)
#90637F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #954ebf;
/* rgb */ color: rgb(149, 78, 191);
/* oklch */ color: oklch(55.9% 0.177 310.9);
Tailwind
colors: {
  custom: {
    50: '#b783d3',
    500: '#954ebf',
    950: '#000000',
  },
}
SCSS
$custom: #954ebf;
$custom-light: #b783d3;
$custom-dark: #000000;
JSON
{
  "hex": "#954ebf",
  "rgb": {
    "r": 149,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 277.699,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5593,
    "c": 0.17733,
    "h": 310.9
  },
  "luminance": 0.156
}

Semantic roles & 50–950 ramp

primary
#954EBF
secondary
#AECD9C
accent
#D75183
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #954EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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