#954BBE#954BBE

#954BBE is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.5% C 0.181 H 311.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#954BBE
RGBrgb(149, 75, 190)
HSLhsl(279, 47%, 52%)
HSVhsv(279, 61%, 75%)
CMYKcmyk(21.6%, 60.5%, 0%, 25.5%)
CIE-LABlab(45.83, 50.43, -48.07)
CIE-LCHlch(45.83, 69.67, 316.37°)
OKLaboklab(55.46% 0.12 -0.1351)
OKLCHoklch(55.46% 0.181 311.6)
XYZxyz(24.2031, 15.1400, 50.3525)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954BBE #74BE4B
analogous
#5C4BBE #954BBE #BE4BAD
triadic
#954BBE #BE954B #4BBE95
tetradic
#954BBE #BE5C4B #74BE4B #4BADBE
square
#954BBE #BE5C4B #74BE4B #4BADBE
split-complementary
#954BBE #ADBE4B #4BBE5C
monochromatic
#512669 #743696 #954BBE #AF78CE #CAA5DE

Accessibility & contrast

On white

5.21
#954BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#954BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954BBE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954BBE#FFFFFF#000000##FFFFFF
##954BBE1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2069C2
Deuteranopia (green-blind)
#416EBB
Tritanopia (blue-blind)
#90607D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #954bbe;
/* rgb */ color: rgb(149, 75, 190);
/* oklch */ color: oklch(55.5% 0.181 311.6);
Tailwind
colors: {
  custom: {
    50: '#b781d2',
    500: '#954bbe',
    950: '#000000',
  },
}
SCSS
$custom: #954bbe;
$custom-light: #b781d2;
$custom-dark: #000000;
JSON
{
  "hex": "#954bbe",
  "rgb": {
    "r": 149,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 278.609,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55459,
    "c": 0.18072,
    "h": 311.6
  },
  "luminance": 0.15139
}

Semantic roles & 50–950 ramp

primary
#954BBE
secondary
#ABCC99
accent
#D75181
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #954BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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