#954BBB#954BBB

#954BBB is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.3% C 0.178 H 312.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#954BBB
RGBrgb(149, 75, 187)
HSLhsl(280, 45%, 51%)
HSVhsv(280, 60%, 73%)
CMYKcmyk(20.3%, 59.9%, 0%, 26.7%)
CIE-LABlab(45.65, 49.77, -46.60)
CIE-LCHlch(45.65, 68.18, 316.88°)
OKLaboklab(55.27% 0.12 -0.1308)
OKLCHoklch(55.27% 0.178 312.5)
XYZxyz(23.8786, 15.0102, 48.6435)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954BBB #71BB4B
analogous
#5D4BBB #954BBB #BB4BA9
triadic
#954BBB #BB954B #4BBB95
tetradic
#954BBB #BB5D4B #71BB4B #4BA9BB
square
#954BBB #BB5D4B #71BB4B #4BA9BB
split-complementary
#954BBB #A9BB4B #4BBB5D
monochromatic
#502665 #733792 #954BBB #AF77CC #C9A4DD

Accessibility & contrast

On white

5.25
#954BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#954BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954BBB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954BBB#FFFFFF#000000##FFFFFF
##954BBB1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2468BF
Deuteranopia (green-blind)
#446EB8
Tritanopia (blue-blind)
#915F7C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #954bbb;
/* rgb */ color: rgb(149, 75, 187);
/* oklch */ color: oklch(55.3% 0.178 312.5);
Tailwind
colors: {
  custom: {
    50: '#b781d0',
    500: '#954bbb',
    950: '#000000',
  },
}
SCSS
$custom: #954bbb;
$custom-light: #b781d0;
$custom-dark: #000000;
JSON
{
  "hex": "#954bbb",
  "rgb": {
    "r": 149,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 279.643,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55273,
    "c": 0.17752,
    "h": 312.5
  },
  "luminance": 0.1501
}

Semantic roles & 50–950 ramp

primary
#954BBB
secondary
#A9CA98
accent
#D5537F
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #954BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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