#952797#952797

#952797 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.192 H 327.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#952797
RGBrgb(149, 39, 151)
HSLhsl(299, 59%, 37%)
HSVhsv(299, 74%, 59%)
CMYKcmyk(1.3%, 74.2%, 0%, 40.8%)
CIE-LABlab(37.98, 58.17, -37.41)
CIE-LCHlch(37.98, 69.16, 327.25°)
OKLaboklab(49.06% 0.1613 -0.1038)
OKLCHoklch(49.06% 0.192 327.2)
XYZxyz(18.7056, 10.0763, 30.2319)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952797 #299727
analogous
#5D2797 #952797 #972761
triadic
#952797 #979527 #279795
tetradic
#952797 #975D27 #299727 #276197
square
#952797 #975D27 #299727 #276197
split-complementary
#952797 #619727 #27975D
monochromatic
#350E36 #651A66 #952797 #C534C8 #D462D6

Accessibility & contrast

On white

6.97
#952797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#952797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952797
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952797#FFFFFF#000000##FFFFFF
##9527971.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C509A
Deuteranopia (green-blind)
#445E94
Tritanopia (blue-blind)
#99395D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952797;
/* rgb */ color: rgb(149, 39, 151);
/* oklch */ color: oklch(49.1% 0.192 327.2);
Tailwind
colors: {
  custom: {
    50: '#b86db6',
    500: '#952797',
    950: '#000000',
  },
}
SCSS
$custom: #952797;
$custom-light: #b86db6;
$custom-dark: #000000;
JSON
{
  "hex": "#952797",
  "rgb": {
    "r": 149,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 298.929,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49061,
    "c": 0.19182,
    "h": 327.2
  },
  "luminance": 0.10075
}

Semantic roles & 50–950 ramp

primary
#952797
secondary
#60BC5E
accent
#E24648
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #952797

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

Preview Lab → · Contrast checker → · Palette generator →

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