#962FC5#962FC5

#962FC5 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.223 H 312.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#962FC5
RGBrgb(150, 47, 197)
HSLhsl(281, 61%, 48%)
HSVhsv(281, 76%, 77%)
CMYKcmyk(23.9%, 76.1%, 0%, 22.7%)
CIE-LABlab(42.08, 64.25, -58.17)
CIE-LCHlch(42.08, 86.67, 317.84°)
OKLaboklab(52.95% 0.1506 -0.1646)
OKLCHoklch(52.95% 0.223 312.5)
XYZxyz(23.6704, 12.5490, 53.9878)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962FC5 #5EC52F
analogous
#4B2FC5 #962FC5 #C52FA9
triadic
#962FC5 #C5962F #2FC596
tetradic
#962FC5 #C54B2F #5EC52F #2FA9C5
square
#962FC5 #C54B2F #5EC52F #2FA9C5
split-complementary
#962FC5 #A9C52F #2FC54B
monochromatic
#4B1762 #702394 #962FC5 #B05AD8 #C88BE3

Accessibility & contrast

On white

5.98
#962FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#962FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962FC5
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962FC5#FFFFFF#000000##FFFFFF
##962FC51.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#1865C2
Tritanopia (blue-blind)
#905279
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #962fc5;
/* rgb */ color: rgb(150, 47, 197);
/* oklch */ color: oklch(52.9% 0.223 312.5);
Tailwind
colors: {
  custom: {
    50: '#ba73d7',
    500: '#962fc5',
    950: '#000000',
  },
}
SCSS
$custom: #962fc5;
$custom-light: #ba73d7;
$custom-dark: #000000;
JSON
{
  "hex": "#962fc5",
  "rgb": {
    "r": 150,
    "g": 47,
    "b": 197
  },
  "hsl": {
    "h": 281.2,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52946,
    "c": 0.22308,
    "h": 312.5
  },
  "luminance": 0.12548
}

Semantic roles & 50–950 ramp

primary
#962FC5
secondary
#9ACD82
accent
#E54376
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #962FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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