#954BB2#954BB2

#954BB2 is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.7% C 0.168 H 315.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#954BB2
RGBrgb(149, 75, 178)
HSLhsl(283, 41%, 50%)
HSVhsv(283, 58%, 70%)
CMYKcmyk(16.3%, 57.9%, 0%, 30.2%)
CIE-LABlab(45.13, 47.83, -42.16)
CIE-LCHlch(45.13, 63.75, 318.61°)
OKLaboklab(54.73% 0.1197 -0.1179)
OKLCHoklch(54.73% 0.168 315.4)
XYZxyz(22.9451, 14.6368, 43.7274)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954BB2 #68B24B
analogous
#624BB2 #954BB2 #B24B9B
triadic
#954BB2 #B2954B #4BB295
tetradic
#954BB2 #B2624B #68B24B #4B9BB2
square
#954BB2 #B2624B #68B24B #4B9BB2
split-complementary
#954BB2 #9BB24B #4BB262
monochromatic
#4D275C #713987 #954BB2 #AF75C5 #C8A0D7

Accessibility & contrast

On white

5.35
#954BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#954BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954BB2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954BB2#FFFFFF#000000##FFFFFF
##954BB21.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F66B5
Deuteranopia (green-blind)
#4B6DAF
Tritanopia (blue-blind)
#935C77
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #954bb2;
/* rgb */ color: rgb(149, 75, 178);
/* oklch */ color: oklch(54.7% 0.168 315.4);
Tailwind
colors: {
  custom: {
    50: '#b781c9',
    500: '#954bb2',
    950: '#000000',
  },
}
SCSS
$custom: #954bb2;
$custom-light: #b781c9;
$custom-dark: #000000;
JSON
{
  "hex": "#954bb2",
  "rgb": {
    "r": 149,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 283.107,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54731,
    "c": 0.16801,
    "h": 315.4
  },
  "luminance": 0.14636
}

Semantic roles & 50–950 ramp

primary
#954BB2
secondary
#A2C495
accent
#D15779
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #954BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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