#952789#952789

#952789 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.181 H 332.9°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#952789
RGBrgb(149, 39, 137)
HSLhsl(307, 59%, 37%)
HSVhsv(307, 74%, 58%)
CMYKcmyk(0%, 73.8%, 8.1%, 41.6%)
CIE-LABlab(37.20, 55.85, -30.07)
CIE-LCHlch(37.20, 63.44, 331.70°)
OKLaboklab(48.25% 0.161 -0.0825)
OKLCHoklch(48.25% 0.181 332.9)
XYZxyz(17.6354, 9.6482, 24.5955)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952789 #279533
analogous
#6A2795 #952789 #952752
triadic
#952789 #899527 #278995
tetradic
#952789 #956A27 #279533 #275295
square
#952789 #956A27 #279533 #275295
split-complementary
#952789 #529527 #27956A
monochromatic
#340E30 #641A5C #952789 #C634B6 #D661C9

Accessibility & contrast

On white

7.17
#952789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#952789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952789
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952789#FFFFFF#000000##FFFFFF
##9527891.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224D8C
Deuteranopia (green-blind)
#4B5D86
Tritanopia (blue-blind)
#9C3255
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #952789;
/* rgb */ color: rgb(149, 39, 137);
/* oklch */ color: oklch(48.3% 0.181 332.9);
Tailwind
colors: {
  custom: {
    50: '#b86dac',
    500: '#952789',
    950: '#000000',
  },
}
SCSS
$custom: #952789;
$custom-light: #b86dac;
$custom-dark: #000000;
JSON
{
  "hex": "#952789",
  "rgb": {
    "r": 149,
    "g": 39,
    "b": 137
  },
  "hsl": {
    "h": 306.545,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48254,
    "c": 0.18092,
    "h": 332.9
  },
  "luminance": 0.09647
}

Semantic roles & 50–950 ramp

primary
#952789
secondary
#5DBB67
accent
#E25746
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952789

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

Preview Lab → · Contrast checker → · Palette generator →

#952789 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva