#952798#952798

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

Color values

HEX#952798
RGBrgb(149, 39, 152)
HSLhsl(298, 59%, 37%)
HSVhsv(298, 74%, 60%)
CMYKcmyk(2%, 74.3%, 0%, 40.4%)
CIE-LABlab(38.04, 58.34, -37.92)
CIE-LCHlch(38.04, 69.58, 326.97°)
OKLaboklab(49.12% 0.1613 -0.1053)
OKLCHoklch(49.12% 0.193 326.9)
XYZxyz(18.7871, 10.1089, 30.6614)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952798 #2A9827
analogous
#5C2798 #952798 #982763
triadic
#952798 #989527 #279895
tetradic
#952798 #985C27 #2A9827 #276398
square
#952798 #985C27 #2A9827 #276398
split-complementary
#952798 #639827 #27985C
monochromatic
#360E37 #651B67 #952798 #C533C9 #D463D7

Accessibility & contrast

On white

6.95
#952798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#952798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952798
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952798#FFFFFF#000000##FFFFFF
##9527981.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09519B
Deuteranopia (green-blind)
#435E95
Tritanopia (blue-blind)
#993A5E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #952798;
/* rgb */ color: rgb(149, 39, 152);
/* oklch */ color: oklch(49.1% 0.193 326.9);
Tailwind
colors: {
  custom: {
    50: '#b86db7',
    500: '#952798',
    950: '#000000',
  },
}
SCSS
$custom: #952798;
$custom-light: #b86db7;
$custom-dark: #000000;
JSON
{
  "hex": "#952798",
  "rgb": {
    "r": 149,
    "g": 39,
    "b": 152
  },
  "hsl": {
    "h": 298.407,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49121,
    "c": 0.19263,
    "h": 326.9
  },
  "luminance": 0.10108
}

Semantic roles & 50–950 ramp

primary
#952798
secondary
#61BC5E
accent
#E2454A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952798

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

Preview Lab → · Contrast checker → · Palette generator →

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