#954EBA#954EBA

#954EBA is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.6% C 0.172 H 312.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#954EBA
RGBrgb(149, 78, 186)
HSLhsl(279, 44%, 52%)
HSVhsv(279, 58%, 73%)
CMYKcmyk(19.9%, 58.1%, 0%, 27.1%)
CIE-LABlab(46.16, 48.03, -45.21)
CIE-LCHlch(46.16, 65.96, 316.73°)
OKLaboklab(55.63% 0.1161 -0.1268)
OKLCHoklch(55.63% 0.172 312.5)
XYZxyz(23.9802, 15.3841, 48.1510)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954EBA #73BA4E
analogous
#5F4EBA #954EBA #BA4EA9
triadic
#954EBA #BA954E #4EBA95
tetradic
#954EBA #BA5F4E #73BA4E #4EA9BA
square
#954EBA #BA5F4E #73BA4E #4EA9BA
split-complementary
#954EBA #A9BA4E #4EBA5F
monochromatic
#512866 #733992 #954EBA #AF7ACB #CAA6DC

Accessibility & contrast

On white

5.15
#954EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #954EBA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954EBA#FFFFFF#000000##FFFFFF
##954EBA1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6ABD
Deuteranopia (green-blind)
#486FB7
Tritanopia (blue-blind)
#91617D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #954eba;
/* rgb */ color: rgb(149, 78, 186);
/* oklch */ color: oklch(55.6% 0.172 312.5);
Tailwind
colors: {
  custom: {
    50: '#b783cf',
    500: '#954eba',
    950: '#000000',
  },
}
SCSS
$custom: #954eba;
$custom-light: #b783cf;
$custom-dark: #000000;
JSON
{
  "hex": "#954eba",
  "rgb": {
    "r": 149,
    "g": 78,
    "b": 186
  },
  "hsl": {
    "h": 279.444,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55625,
    "c": 0.17192,
    "h": 312.5
  },
  "luminance": 0.15384
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #954EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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