#7B20A0#7B20A0

#7B20A0 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.196 H 313.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#7B20A0
RGBrgb(123, 32, 160)
HSLhsl(283, 67%, 38%)
HSVhsv(283, 80%, 63%)
CMYKcmyk(23.1%, 80%, 0%, 37.3%)
CIE-LABlab(33.53, 56.90, -50.25)
CIE-LCHlch(33.53, 75.91, 318.55°)
OKLaboklab(45.26% 0.1351 -0.1421)
OKLCHoklch(45.26% 0.196 313.5)
XYZxyz(15.0289, 7.7825, 33.9614)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B20A0 #45A020
analogous
#3B20A0 #7B20A0 #A02085
triadic
#7B20A0 #A07B20 #20A07B
tetradic
#7B20A0 #A03B20 #45A020 #2085A0
square
#7B20A0 #A03B20 #45A020 #2085A0
split-complementary
#7B20A0 #85A020 #20A03B
monochromatic
#2D0C3A #54166D #7B20A0 #A22AD3 #B95CDE

Accessibility & contrast

On white

8.21
#7B20A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7B20A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B20A0
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B20A0#FFFFFF#000000##FFFFFF
##7B20A01.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA3
Deuteranopia (green-blind)
#10519D
Tritanopia (blue-blind)
#773F60
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7b20a0;
/* rgb */ color: rgb(123, 32, 160);
/* oklch */ color: oklch(45.3% 0.196 313.5);
Tailwind
colors: {
  custom: {
    50: '#a667bd',
    500: '#7b20a0',
    950: '#000000',
  },
}
SCSS
$custom: #7b20a0;
$custom-light: #a667bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b20a0",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 282.656,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45259,
    "c": 0.19607,
    "h": 313.5
  },
  "luminance": 0.07782
}

Semantic roles & 50–950 ramp

primary
#7B20A0
secondary
#78C359
accent
#EA3E70
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B20A0

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

Preview Lab → · Contrast checker → · Palette generator →

#7B20A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva