#960EB7#960EB7

#960EB7 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.9% C 0.235 H 317.7°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#960EB7
RGBrgb(150, 14, 183)
HSLhsl(288, 86%, 39%)
HSVhsv(288, 92%, 72%)
CMYKcmyk(18%, 92.3%, 0%, 28.2%)
CIE-LABlab(38.23, 69.86, -56.18)
CIE-LCHlch(38.23, 89.65, 321.19°)
OKLaboklab(49.94% 0.1741 -0.1585)
OKLCHoklch(49.94% 0.235 317.7)
XYZxyz(21.2807, 10.2180, 45.6419)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#960EB7 #2FB70E
analogous
#410EB7 #960EB7 #B70E83
triadic
#960EB7 #B7960E #0EB796
tetradic
#960EB7 #B7410E #2FB70E #0E83B7
square
#960EB7 #B7410E #2FB70E #0E83B7
split-complementary
#960EB7 #83B70E #0EB741
monochromatic
#390545 #670A7E #960EB7 #C315ED #D24EF1

Accessibility & contrast

On white

6.90
#960EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#960EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #960EB7
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##960EB7#FFFFFF#000000##FFFFFF
##960EB71.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#165EB4
Tritanopia (blue-blind)
#943F6B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #960eb7;
/* rgb */ color: rgb(150, 14, 183);
/* oklch */ color: oklch(49.9% 0.235 317.7);
Tailwind
colors: {
  custom: {
    50: '#ba68cd',
    500: '#960eb7',
    950: '#000000',
  },
}
SCSS
$custom: #960eb7;
$custom-light: #ba68cd;
$custom-dark: #000000;
JSON
{
  "hex": "#960eb7",
  "rgb": {
    "r": 150,
    "g": 14,
    "b": 183
  },
  "hsl": {
    "h": 288.284,
    "s": 85.787,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4994,
    "c": 0.23549,
    "h": 317.7
  },
  "luminance": 0.10217
}

Semantic roles & 50–950 ramp

primary
#960EB7
secondary
#68D34E
accent
#FC2C54
background
#FCF6FC
surface
#F8ECF9
border
#D1C7D2
text
#120714
muted
#817A82

Preview Lab

Preview with #960EB7

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

Preview Lab → · Contrast checker → · Palette generator →

#960EB7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva