#952098#952098

#952098 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.6% C 0.200 H 327.0°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#952098
RGBrgb(149, 32, 152)
HSLhsl(299, 65%, 36%)
HSVhsv(299, 79%, 60%)
CMYKcmyk(2%, 78.9%, 0%, 40.4%)
CIE-LABlab(37.28, 60.51, -39.13)
CIE-LCHlch(37.28, 72.06, 327.11°)
OKLaboklab(48.58% 0.1674 -0.1087)
OKLCHoklch(48.58% 0.2 327)
XYZxyz(18.5781, 9.6909, 30.5917)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952098 #239820
analogous
#592098 #952098 #98205F
triadic
#952098 #989520 #209895
tetradic
#952098 #985920 #239820 #205F98
square
#952098 #985920 #239820 #205F98
split-complementary
#952098 #5F9820 #209859
monochromatic
#320B33 #631565 #952098 #C72BCB #D857DC

Accessibility & contrast

On white

7.15
#952098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#952098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952098
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952098#FFFFFF#000000##FFFFFF
##9520981.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#405D95
Tritanopia (blue-blind)
#99355C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #952098;
/* rgb */ color: rgb(149, 32, 152);
/* oklch */ color: oklch(48.6% 0.200 327.0);
Tailwind
colors: {
  custom: {
    50: '#b86bb7',
    500: '#952098',
    950: '#000000',
  },
}
SCSS
$custom: #952098;
$custom-light: #b86bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#952098",
  "rgb": {
    "r": 149,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 298.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48583,
    "c": 0.19962,
    "h": 327
  },
  "luminance": 0.0969
}

Semantic roles & 50–950 ramp

primary
#952098
secondary
#57BF54
accent
#E84044
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #952098

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

Preview Lab → · Contrast checker → · Palette generator →

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