#7B20AD#7B20AD

#7B20AD is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.3% C 0.208 H 309.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#7B20AD
RGBrgb(123, 32, 173)
HSLhsl(279, 69%, 40%)
HSVhsv(279, 82%, 68%)
CMYKcmyk(28.9%, 81.5%, 0%, 32.2%)
CIE-LABlab(34.52, 59.61, -56.45)
CIE-LCHlch(34.52, 82.10, 316.56°)
OKLaboklab(46.27% 0.1321 -0.1603)
OKLCHoklch(46.27% 0.208 309.5)
XYZxyz(16.2262, 8.2614, 40.2669)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B20AD #52AD20
analogous
#3420AD #7B20AD #AD2099
triadic
#7B20AD #AD7B20 #20AD7B
tetradic
#7B20AD #AD3420 #52AD20 #2099AD
square
#7B20AD #AD3420 #52AD20 #2099AD
split-complementary
#7B20AD #99AD20 #20AD34
monochromatic
#320D46 #561679 #7B20AD #9D31D9 #B665E2

Accessibility & contrast

On white

7.92
#7B20AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7B20AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B20AD
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B20AD#FFFFFF#000000##FFFFFF
##7B20AD1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#0052AA
Tritanopia (blue-blind)
#734568
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7b20ad;
/* rgb */ color: rgb(123, 32, 173);
/* oklch */ color: oklch(46.3% 0.208 309.5);
Tailwind
colors: {
  custom: {
    50: '#a668c6',
    500: '#7b20ad',
    950: '#000000',
  },
}
SCSS
$custom: #7b20ad;
$custom-light: #a668c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b20ad",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 173
  },
  "hsl": {
    "h": 278.723,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46268,
    "c": 0.20777,
    "h": 309.5
  },
  "luminance": 0.08261
}

Semantic roles & 50–950 ramp

primary
#7B20AD
secondary
#85C861
accent
#EC3C7A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B20AD

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

Preview Lab → · Contrast checker → · Palette generator →

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