#952898#952898

#952898 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.192 H 326.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#952898
RGBrgb(149, 40, 152)
HSLhsl(298, 58%, 38%)
HSVhsv(298, 74%, 60%)
CMYKcmyk(2%, 73.7%, 0%, 40.4%)
CIE-LABlab(38.16, 58.00, -37.74)
CIE-LCHlch(38.16, 69.20, 326.95°)
OKLaboklab(49.21% 0.1604 -0.1047)
OKLCHoklch(49.21% 0.192 326.8)
XYZxyz(18.8204, 10.1754, 30.6725)
Luminance0.1017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952898 #2B9828
analogous
#5D2898 #952898 #982863
triadic
#952898 #989528 #289895
tetradic
#952898 #985D28 #2B9828 #286398
square
#952898 #985D28 #2B9828 #286398
split-complementary
#952898 #639828 #28985D
monochromatic
#360F37 #661B68 #952898 #C435C8 #D364D6

Accessibility & contrast

On white

6.92
#952898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #952898
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952898#FFFFFF#000000##FFFFFF
##9528981.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C519B
Deuteranopia (green-blind)
#445F95
Tritanopia (blue-blind)
#993A5E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #952898;
/* rgb */ color: rgb(149, 40, 152);
/* oklch */ color: oklch(49.2% 0.192 326.8);
Tailwind
colors: {
  custom: {
    50: '#b86eb7',
    500: '#952898',
    950: '#000000',
  },
}
SCSS
$custom: #952898;
$custom-light: #b86eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#952898",
  "rgb": {
    "r": 149,
    "g": 40,
    "b": 152
  },
  "hsl": {
    "h": 298.393,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49205,
    "c": 0.19154,
    "h": 326.8
  },
  "luminance": 0.10174
}

Semantic roles & 50–950 ramp

primary
#952898
secondary
#62BC60
accent
#E2464A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952898

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

Preview Lab → · Contrast checker → · Palette generator →

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