#954BAF#954BAF

#954BAF is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.6% C 0.165 H 316.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#954BAF
RGBrgb(149, 75, 175)
HSLhsl(284, 40%, 49%)
HSVhsv(284, 57%, 69%)
CMYKcmyk(14.9%, 57.1%, 0%, 31.4%)
CIE-LABlab(44.97, 47.19, -40.66)
CIE-LCHlch(44.97, 62.29, 319.25°)
OKLaboklab(54.56% 0.1196 -0.1135)
OKLCHoklch(54.56% 0.165 316.5)
XYZxyz(22.6472, 14.5176, 42.1583)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954BAF #65AF4B
analogous
#634BAF #954BAF #AF4B97
triadic
#954BAF #AF954B #4BAF95
tetradic
#954BAF #AF634B #65AF4B #4B97AF
square
#954BAF #AF634B #65AF4B #4B97AF
split-complementary
#954BAF #97AF4B #4BAF63
monochromatic
#4C2659 #713984 #954BAF #AF74C3 #C79FD6

Accessibility & contrast

On white

5.38
#954BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#954BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954BAF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954BAF#FFFFFF#000000##FFFFFF
##954BAF1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3266B2
Deuteranopia (green-blind)
#4C6DAC
Tritanopia (blue-blind)
#945B76
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #954baf;
/* rgb */ color: rgb(149, 75, 175);
/* oklch */ color: oklch(54.6% 0.165 316.5);
Tailwind
colors: {
  custom: {
    50: '#b781c7',
    500: '#954baf',
    950: '#000000',
  },
}
SCSS
$custom: #954baf;
$custom-light: #b781c7;
$custom-dark: #000000;
JSON
{
  "hex": "#954baf",
  "rgb": {
    "r": 149,
    "g": 75,
    "b": 175
  },
  "hsl": {
    "h": 284.4,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54555,
    "c": 0.16485,
    "h": 316.5
  },
  "luminance": 0.14517
}

Semantic roles & 50–950 ramp

primary
#954BAF
secondary
#A0C293
accent
#D05877
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120A13
muted
#817C82

Preview Lab

Preview with #954BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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