#962897#962897

#962897 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.191 H 327.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#962897
RGBrgb(150, 40, 151)
HSLhsl(299, 58%, 37%)
HSVhsv(299, 74%, 59%)
CMYKcmyk(0.7%, 73.5%, 0%, 40.8%)
CIE-LABlab(38.27, 58.05, -36.94)
CIE-LCHlch(38.27, 68.81, 327.53°)
OKLaboklab(49.3% 0.1615 -0.1024)
OKLCHoklch(49.3% 0.191 327.6)
XYZxyz(18.9221, 10.2373, 30.2515)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962897 #299728
analogous
#5E2897 #962897 #972861
triadic
#962897 #979628 #289796
tetradic
#962897 #975E28 #299728 #286197
square
#962897 #975E28 #299728 #286197
split-complementary
#962897 #619728 #28975E
monochromatic
#360E36 #661B67 #962897 #C635C7 #D564D6

Accessibility & contrast

On white

6.89
#962897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#962897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962897
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962897#FFFFFF#000000##FFFFFF
##9628971.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10519A
Deuteranopia (green-blind)
#455F94
Tritanopia (blue-blind)
#9B395D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #962897;
/* rgb */ color: rgb(150, 40, 151);
/* oklch */ color: oklch(49.3% 0.191 327.6);
Tailwind
colors: {
  custom: {
    50: '#b86eb6',
    500: '#962897',
    950: '#000000',
  },
}
SCSS
$custom: #962897;
$custom-light: #b86eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#962897",
  "rgb": {
    "r": 150,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 299.459,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49298,
    "c": 0.19122,
    "h": 327.6
  },
  "luminance": 0.10236
}

Semantic roles & 50–950 ramp

primary
#962897
secondary
#60BC5F
accent
#E14648
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #962897

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

Preview Lab → · Contrast checker → · Palette generator →

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