#962795#962795

#962795 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.191 H 328.4°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#962795
RGBrgb(150, 39, 149)
HSLhsl(301, 59%, 37%)
HSVhsv(301, 74%, 59%)
CMYKcmyk(0%, 74%, 0.7%, 41.2%)
CIE-LABlab(38.03, 58.05, -36.10)
CIE-LCHlch(38.03, 68.36, 328.13°)
OKLaboklab(49.09% 0.1624 -0.0999)
OKLCHoklch(49.09% 0.191 328.4)
XYZxyz(18.7278, 10.1064, 29.3923)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962795 #279628
analogous
#602796 #962795 #96275D
triadic
#962795 #959627 #279596
tetradic
#962795 #966027 #279628 #275D96
square
#962795 #966027 #279628 #275D96
split-complementary
#962795 #5D9627 #279660
monochromatic
#350E35 #651A65 #962795 #C734C5 #D661D5

Accessibility & contrast

On white

6.95
#962795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#962795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962795
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962795#FFFFFF#000000##FFFFFF
##9627951.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125098
Deuteranopia (green-blind)
#465F92
Tritanopia (blue-blind)
#9B385C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #962795;
/* rgb */ color: rgb(150, 39, 149);
/* oklch */ color: oklch(49.1% 0.191 328.4);
Tailwind
colors: {
  custom: {
    50: '#b86db4',
    500: '#962795',
    950: '#000000',
  },
}
SCSS
$custom: #962795;
$custom-light: #b86db4;
$custom-dark: #000000;
JSON
{
  "hex": "#962795",
  "rgb": {
    "r": 150,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 300.541,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49094,
    "c": 0.19073,
    "h": 328.4
  },
  "luminance": 0.10105
}

Semantic roles & 50–950 ramp

primary
#962795
secondary
#5DBC5E
accent
#E24746
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #962795

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

Preview Lab → · Contrast checker → · Palette generator →

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