#962E98#962E98

#962E98 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.9% C 0.185 H 327.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#962E98
RGBrgb(150, 46, 152)
HSLhsl(299, 54%, 39%)
HSVhsv(299, 70%, 60%)
CMYKcmyk(1.3%, 69.7%, 0%, 40.4%)
CIE-LABlab(39.08, 56.07, -36.26)
CIE-LCHlch(39.08, 66.77, 327.11°)
OKLaboklab(49.9% 0.1554 -0.1005)
OKLCHoklch(49.9% 0.185 327.1)
XYZxyz(19.2219, 10.7063, 30.7538)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962E98 #30982E
analogous
#612E98 #962E98 #982E65
triadic
#962E98 #98962E #2E9896
tetradic
#962E98 #98612E #30982E #2E6598
square
#962E98 #98612E #30982E #2E6598
split-complementary
#962E98 #65982E #2E9861
monochromatic
#39123A #682069 #962E98 #C23EC5 #D16DD3

Accessibility & contrast

On white

6.69
#962E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#962E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962E98
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962E98#FFFFFF#000000##FFFFFF
##962E981.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B539B
Deuteranopia (green-blind)
#486195
Tritanopia (blue-blind)
#9A3E60
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #962e98;
/* rgb */ color: rgb(150, 46, 152);
/* oklch */ color: oklch(49.9% 0.185 327.1);
Tailwind
colors: {
  custom: {
    50: '#b870b7',
    500: '#962e98',
    950: '#000000',
  },
}
SCSS
$custom: #962e98;
$custom-light: #b870b7;
$custom-dark: #000000;
JSON
{
  "hex": "#962e98",
  "rgb": {
    "r": 150,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 298.868,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49901,
    "c": 0.18505,
    "h": 327.1
  },
  "luminance": 0.10705
}

Semantic roles & 50–950 ramp

primary
#962E98
secondary
#69BA68
accent
#DD4B4E
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #962E98

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

Preview Lab → · Contrast checker → · Palette generator →

#962E98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva