#9720B3#9720B3

#9720B3 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.7% C 0.222 H 318.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9720B3
RGBrgb(151, 32, 179)
HSLhsl(289, 70%, 41%)
HSVhsv(289, 82%, 70%)
CMYKcmyk(15.6%, 82.1%, 0%, 29.8%)
CIE-LABlab(39.36, 65.64, -51.98)
CIE-LCHlch(39.36, 83.73, 321.62°)
OKLaboklab(50.67% 0.1667 -0.1463)
OKLCHoklch(50.67% 0.222 318.7)
XYZxyz(21.4146, 10.8681, 43.6088)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9720B3 #3CB320
analogous
#4D20B3 #9720B3 #B32086
triadic
#9720B3 #B39720 #20B397
tetradic
#9720B3 #B34D20 #3CB320 #2086B3
square
#9720B3 #B34D20 #3CB320 #2086B3
split-complementary
#9720B3 #86B320 #20B34D
monochromatic
#3F0D4B #6B177F #9720B3 #BB35DB #CD69E4

Accessibility & contrast

On white

6.62
#9720B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9720B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9720B3
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9720B3#FFFFFF#000000##FFFFFF
##9720B31.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#2A60B0
Tritanopia (blue-blind)
#96436B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9720b3;
/* rgb */ color: rgb(151, 32, 179);
/* oklch */ color: oklch(50.7% 0.222 318.7);
Tailwind
colors: {
  custom: {
    50: '#ba6cca',
    500: '#9720b3',
    950: '#000000',
  },
}
SCSS
$custom: #9720b3;
$custom-light: #ba6cca;
$custom-dark: #000000;
JSON
{
  "hex": "#9720b3",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 288.571,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50668,
    "c": 0.22179,
    "h": 318.7
  },
  "luminance": 0.10867
}

Semantic roles & 50–950 ramp

primary
#9720B3
secondary
#78CA65
accent
#EC3B5D
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9720B3

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

Preview Lab → · Contrast checker → · Palette generator →

#9720B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva