#962098#962098

#962098 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.7% C 0.200 H 327.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#962098
RGBrgb(150, 32, 152)
HSLhsl(299, 65%, 36%)
HSVhsv(299, 79%, 60%)
CMYKcmyk(1.3%, 78.9%, 0%, 40.4%)
CIE-LABlab(37.45, 60.72, -38.84)
CIE-LCHlch(37.45, 72.08, 327.39°)
OKLaboklab(48.74% 0.1685 -0.1079)
OKLCHoklch(48.74% 0.2 327.4)
XYZxyz(18.7614, 9.7854, 30.6003)
Luminance0.0978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962098 #229820
analogous
#5A2098 #962098 #98205E
triadic
#962098 #989620 #209896
tetradic
#962098 #985A20 #229820 #205E98
square
#962098 #985A20 #229820 #205E98
split-complementary
#962098 #5E9820 #20985A
monochromatic
#320B33 #641565 #962098 #C82BCB #D957DC

Accessibility & contrast

On white

7.10
#962098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #962098
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962098#FFFFFF#000000##FFFFFF
##9620981.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #962098;
/* rgb */ color: rgb(150, 32, 152);
/* oklch */ color: oklch(48.7% 0.200 327.4);
Tailwind
colors: {
  custom: {
    50: '#b96bb7',
    500: '#962098',
    950: '#000000',
  },
}
SCSS
$custom: #962098;
$custom-light: #b96bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#962098",
  "rgb": {
    "r": 150,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 299,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48738,
    "c": 0.20007,
    "h": 327.4
  },
  "luminance": 0.09784
}

Semantic roles & 50–950 ramp

primary
#962098
secondary
#56BF54
accent
#E84042
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #962098

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

Preview Lab → · Contrast checker → · Palette generator →

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