#952298#952298

#952298 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.198 H 327.0°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#952298
RGBrgb(149, 34, 152)
HSLhsl(298, 63%, 36%)
HSVhsv(298, 78%, 60%)
CMYKcmyk(2%, 77.6%, 0%, 40.4%)
CIE-LABlab(37.48, 59.93, -38.80)
CIE-LCHlch(37.48, 71.39, 327.08°)
OKLaboklab(48.73% 0.1658 -0.1078)
OKLCHoklch(48.73% 0.198 327)
XYZxyz(18.6336, 9.8019, 30.6102)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952298 #259822
analogous
#5A2298 #952298 #982260
triadic
#952298 #989522 #229895
tetradic
#952298 #985A22 #259822 #226098
square
#952298 #985A22 #259822 #226098
split-complementary
#952298 #609822 #22985A
monochromatic
#330C34 #641766 #952298 #C62DCA #D75ADA

Accessibility & contrast

On white

7.09
#952298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#952298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952298
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952298#FFFFFF#000000##FFFFFF
##9522981.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#415D95
Tritanopia (blue-blind)
#99375C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #952298;
/* rgb */ color: rgb(149, 34, 152);
/* oklch */ color: oklch(48.7% 0.198 327.0);
Tailwind
colors: {
  custom: {
    50: '#b86bb7',
    500: '#952298',
    950: '#000000',
  },
}
SCSS
$custom: #952298;
$custom-light: #b86bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#952298",
  "rgb": {
    "r": 149,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 298.475,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48727,
    "c": 0.19774,
    "h": 327
  },
  "luminance": 0.09801
}

Semantic roles & 50–950 ramp

primary
#952298
secondary
#5ABE57
accent
#E64146
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #952298

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

Preview Lab → · Contrast checker → · Palette generator →

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