#952897#952897

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

Color values

HEX#952897
RGBrgb(149, 40, 151)
HSLhsl(299, 58%, 37%)
HSVhsv(299, 74%, 59%)
CMYKcmyk(1.3%, 73.5%, 0%, 40.8%)
CIE-LABlab(38.10, 57.83, -37.22)
CIE-LCHlch(38.10, 68.77, 327.23°)
OKLaboklab(49.15% 0.1604 -0.1032)
OKLCHoklch(49.15% 0.191 327.2)
XYZxyz(18.7388, 10.1428, 30.2429)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952897 #2A9728
analogous
#5E2897 #952897 #972861
triadic
#952897 #979528 #289795
tetradic
#952897 #975E28 #2A9728 #286197
square
#952897 #975E28 #2A9728 #286197
split-complementary
#952897 #619728 #28975E
monochromatic
#360E36 #651B67 #952897 #C535C7 #D464D6

Accessibility & contrast

On white

6.93
#952897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#952897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952897
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952897#FFFFFF#000000##FFFFFF
##9528971.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F519A
Deuteranopia (green-blind)
#445E94
Tritanopia (blue-blind)
#993A5D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #952897;
/* rgb */ color: rgb(149, 40, 151);
/* oklch */ color: oklch(49.1% 0.191 327.2);
Tailwind
colors: {
  custom: {
    50: '#b86eb6',
    500: '#952897',
    950: '#000000',
  },
}
SCSS
$custom: #952897;
$custom-light: #b86eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#952897",
  "rgb": {
    "r": 149,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 298.919,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49145,
    "c": 0.19073,
    "h": 327.2
  },
  "luminance": 0.10142
}

Semantic roles & 50–950 ramp

primary
#952897
secondary
#61BC5F
accent
#E14649
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952897

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

Preview Lab → · Contrast checker → · Palette generator →

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