#952792#952792

#952792 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.188 H 329.2°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#952792
RGBrgb(149, 39, 146)
HSLhsl(302, 59%, 37%)
HSVhsv(302, 74%, 58%)
CMYKcmyk(0%, 73.8%, 2%, 41.6%)
CIE-LABlab(37.69, 57.32, -34.82)
CIE-LCHlch(37.69, 67.07, 328.73°)
OKLaboklab(48.76% 0.1613 -0.0963)
OKLCHoklch(48.76% 0.188 329.2)
XYZxyz(18.3081, 9.9173, 28.1385)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952792 #27952A
analogous
#612795 #952792 #95275B
triadic
#952792 #929527 #279295
tetradic
#952792 #956127 #27952A #275B95
square
#952792 #956127 #27952A #275B95
split-complementary
#952792 #5B9527 #279561
monochromatic
#340E33 #641A62 #952792 #C634C2 #D661D2

Accessibility & contrast

On white

7.04
#952792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#952792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952792
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952792#FFFFFF#000000##FFFFFF
##9527921.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164F95
Deuteranopia (green-blind)
#475E8F
Tritanopia (blue-blind)
#9A375A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952792;
/* rgb */ color: rgb(149, 39, 146);
/* oklch */ color: oklch(48.8% 0.188 329.2);
Tailwind
colors: {
  custom: {
    50: '#b86db2',
    500: '#952792',
    950: '#000000',
  },
}
SCSS
$custom: #952792;
$custom-light: #b86db2;
$custom-dark: #000000;
JSON
{
  "hex": "#952792",
  "rgb": {
    "r": 149,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 301.636,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48764,
    "c": 0.18787,
    "h": 329.2
  },
  "luminance": 0.09916
}

Semantic roles & 50–950 ramp

primary
#952792
secondary
#5DBB5F
accent
#E24A46
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #952792

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

Preview Lab → · Contrast checker → · Palette generator →

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