#952498#952498

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

Color values

HEX#952498
RGBrgb(149, 36, 152)
HSLhsl(298, 62%, 37%)
HSVhsv(298, 76%, 60%)
CMYKcmyk(2%, 76.3%, 0%, 40.4%)
CIE-LABlab(37.70, 59.31, -38.46)
CIE-LCHlch(37.70, 70.69, 327.04°)
OKLaboklab(48.88% 0.164 -0.1068)
OKLCHoklch(48.88% 0.196 326.9)
XYZxyz(18.6925, 9.9196, 30.6298)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952498 #279824
analogous
#5B2498 #952498 #982461
triadic
#952498 #989524 #249895
tetradic
#952498 #985B24 #279824 #246198
square
#952498 #985B24 #279824 #246198
split-complementary
#952498 #619824 #24985B
monochromatic
#340D35 #641867 #952498 #C630C9 #D65ED9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##952498#FFFFFF#000000##FFFFFF
##9524981.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)
#00509B
Deuteranopia (green-blind)
#425E95
Tritanopia (blue-blind)
#99385D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952498;
/* rgb */ color: rgb(149, 36, 152);
/* oklch */ color: oklch(48.9% 0.196 326.9);
Tailwind
colors: {
  custom: {
    50: '#b86cb7',
    500: '#952498',
    950: '#000000',
  },
}
SCSS
$custom: #952498;
$custom-light: #b86cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#952498",
  "rgb": {
    "r": 149,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 298.448,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48879,
    "c": 0.19576,
    "h": 326.9
  },
  "luminance": 0.09918
}

Semantic roles & 50–950 ramp

primary
#952498
secondary
#5DBE5A
accent
#E54347
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #952498

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

Preview Lab → · Contrast checker → · Palette generator →

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