#962F97#962F97

#962F97 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.9% C 0.183 H 327.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#962F97
RGBrgb(150, 47, 151)
HSLhsl(299, 53%, 39%)
HSVhsv(299, 69%, 59%)
CMYKcmyk(0.7%, 68.9%, 0%, 40.8%)
CIE-LABlab(39.16, 55.51, -35.52)
CIE-LCHlch(39.16, 65.90, 327.38°)
OKLaboklab(49.94% 0.1543 -0.0983)
OKLCHoklch(49.94% 0.183 327.5)
XYZxyz(19.1798, 10.7527, 30.3374)
Luminance0.1075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962F97 #30972F
analogous
#622F97 #962F97 #972F64
triadic
#962F97 #97962F #2F9796
tetradic
#962F97 #97622F #30972F #2F6497
square
#962F97 #97622F #30972F #2F6497
split-complementary
#962F97 #64972F #2F9762
monochromatic
#39123A #682068 #962F97 #C240C3 #D16ED2

Accessibility & contrast

On white

6.67
#962F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#962F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962F97
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962F97#FFFFFF#000000##FFFFFF
##962F971.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E549A
Deuteranopia (green-blind)
#496194
Tritanopia (blue-blind)
#9A3E5F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #962f97;
/* rgb */ color: rgb(150, 47, 151);
/* oklch */ color: oklch(49.9% 0.183 327.5);
Tailwind
colors: {
  custom: {
    50: '#b871b6',
    500: '#962f97',
    950: '#000000',
  },
}
SCSS
$custom: #962f97;
$custom-light: #b871b6;
$custom-dark: #000000;
JSON
{
  "hex": "#962f97",
  "rgb": {
    "r": 150,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 299.423,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4994,
    "c": 0.18298,
    "h": 327.5
  },
  "luminance": 0.10751
}

Semantic roles & 50–950 ramp

primary
#962F97
secondary
#69B968
accent
#DC4C4D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #962F97

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

Preview Lab → · Contrast checker → · Palette generator →

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