#7B20A8#7B20A8

#7B20A8 is a mid, highly saturated purple. Relative luminance 0.081; OKLCH L 45.9% C 0.203 H 311.0°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#7B20A8
RGBrgb(123, 32, 168)
HSLhsl(280, 68%, 39%)
HSVhsv(280, 81%, 66%)
CMYKcmyk(26.8%, 81%, 0%, 34.1%)
CIE-LABlab(34.13, 58.56, -54.09)
CIE-LCHlch(34.13, 79.71, 317.27°)
OKLaboklab(45.87% 0.1333 -0.1534)
OKLCHoklch(45.87% 0.203 311)
XYZxyz(15.7514, 8.0715, 37.7664)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B20A8 #4DA820
analogous
#3720A8 #7B20A8 #A82091
triadic
#7B20A8 #A87B20 #20A87B
tetradic
#7B20A8 #A83720 #4DA820 #2091A8
square
#7B20A8 #A83720 #4DA820 #2091A8
split-complementary
#7B20A8 #91A820 #20A837
monochromatic
#300C41 #551675 #7B20A8 #9F2ED7 #B761E1

Accessibility & contrast

On white

8.03
#7B20A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7B20A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B20A8
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B20A8#FFFFFF#000000##FFFFFF
##7B20A81.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#0052A5
Tritanopia (blue-blind)
#754365
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b20a8;
/* rgb */ color: rgb(123, 32, 168);
/* oklch */ color: oklch(45.9% 0.203 311.0);
Tailwind
colors: {
  custom: {
    50: '#a668c3',
    500: '#7b20a8',
    950: '#000000',
  },
}
SCSS
$custom: #7b20a8;
$custom-light: #a668c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b20a8",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 280.147,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45873,
    "c": 0.20326,
    "h": 311
  },
  "luminance": 0.08071
}

Semantic roles & 50–950 ramp

primary
#7B20A8
secondary
#80C65E
accent
#EB3D76
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B20A8

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

Preview Lab → · Contrast checker → · Palette generator →

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