#962398#962398

#962398 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.197 H 327.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#962398
RGBrgb(150, 35, 152)
HSLhsl(299, 63%, 37%)
HSVhsv(299, 77%, 60%)
CMYKcmyk(1.3%, 77%, 0%, 40.4%)
CIE-LABlab(37.76, 59.83, -38.35)
CIE-LCHlch(37.76, 71.07, 327.34°)
OKLaboklab(48.96% 0.166 -0.1065)
OKLCHoklch(48.96% 0.197 327.3)
XYZxyz(18.8459, 9.9545, 30.6285)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962398 #259823
analogous
#5C2398 #962398 #982360
triadic
#962398 #989623 #239896
tetradic
#962398 #985C23 #259823 #236098
square
#962398 #985C23 #259823 #236098
split-complementary
#962398 #609823 #23985C
monochromatic
#340C35 #651866 #962398 #C72ECA #D75CD9

Accessibility & contrast

On white

7.02
#962398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#962398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #962398
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962398#FFFFFF#000000##FFFFFF
##9623981.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509B
Deuteranopia (green-blind)
#425E95
Tritanopia (blue-blind)
#9B375D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #962398;
/* rgb */ color: rgb(150, 35, 152);
/* oklch */ color: oklch(49.0% 0.197 327.3);
Tailwind
colors: {
  custom: {
    50: '#b96cb7',
    500: '#962398',
    950: '#000000',
  },
}
SCSS
$custom: #962398;
$custom-light: #b96cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#962398",
  "rgb": {
    "r": 150,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 298.974,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48956,
    "c": 0.19722,
    "h": 327.3
  },
  "luminance": 0.09953
}

Semantic roles & 50–950 ramp

primary
#962398
secondary
#5BBE59
accent
#E64245
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #962398

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

Preview Lab → · Contrast checker → · Palette generator →

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