#954792#954792

#954792 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 52.4% C 0.142 H 328.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#954792
RGBrgb(149, 71, 146)
HSLhsl(302, 35%, 43%)
HSVhsv(302, 52%, 58%)
CMYKcmyk(0%, 52.3%, 2%, 41.6%)
CIE-LABlab(42.72, 43.47, -26.91)
CIE-LCHlch(42.72, 51.12, 328.24°)
OKLaboklab(52.42% 0.1219 -0.0737)
OKLCHoklch(52.42% 0.142 328.8)
XYZxyz(19.8357, 12.9725, 28.6477)
Luminance0.1297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954792 #47954A
analogous
#714795 #954792 #95476B
triadic
#954792 #929547 #479295
tetradic
#954792 #957147 #47954A #476B95
square
#954792 #957147 #47954A #476B95
split-complementary
#954792 #6B9547 #479571
monochromatic
#421F41 #6C3369 #954792 #B564B2 #C98DC7

Accessibility & contrast

On white

5.84
#954792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#954792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954792
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954792#FFFFFF#000000##FFFFFF
##9547921.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415E94
Deuteranopia (green-blind)
#596990
Tritanopia (blue-blind)
#9A4F66
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #954792;
/* rgb */ color: rgb(149, 71, 146);
/* oklch */ color: oklch(52.4% 0.142 328.8);
Tailwind
colors: {
  custom: {
    50: '#b67eb2',
    500: '#954792',
    950: '#000000',
  },
}
SCSS
$custom: #954792;
$custom-light: #b67eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#954792",
  "rgb": {
    "r": 149,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 302.308,
    "s": 35.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52423,
    "c": 0.14248,
    "h": 328.8
  },
  "luminance": 0.12971
}

Semantic roles & 50–950 ramp

primary
#954792
secondary
#83B485
accent
#CB615C
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #954792

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

Preview Lab → · Contrast checker → · Palette generator →

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