#7B20A9#7B20A9

#7B20A9 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 46.0% C 0.204 H 310.7°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#7B20A9
RGBrgb(123, 32, 169)
HSLhsl(280, 68%, 39%)
HSVhsv(280, 81%, 66%)
CMYKcmyk(27.2%, 81.1%, 0%, 33.7%)
CIE-LABlab(34.21, 58.77, -54.56)
CIE-LCHlch(34.21, 80.19, 317.12°)
OKLaboklab(45.95% 0.1331 -0.1548)
OKLCHoklch(45.95% 0.204 310.7)
XYZxyz(15.8449, 8.1089, 38.2589)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B20A9 #4EA920
analogous
#3720A9 #7B20A9 #A92093
triadic
#7B20A9 #A97B20 #20A97B
tetradic
#7B20A9 #A93720 #4EA920 #2093A9
square
#7B20A9 #A93720 #4EA920 #2093A9
split-complementary
#7B20A9 #93A920 #20A937
monochromatic
#300D42 #561676 #7B20A9 #9F2FD8 #B762E1

Accessibility & contrast

On white

8.01
#7B20A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7B20A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B20A9
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B20A9#FFFFFF#000000##FFFFFF
##7B20A91.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b20a9;
/* rgb */ color: rgb(123, 32, 169);
/* oklch */ color: oklch(46.0% 0.204 310.7);
Tailwind
colors: {
  custom: {
    50: '#a668c3',
    500: '#7b20a9',
    950: '#000000',
  },
}
SCSS
$custom: #7b20a9;
$custom-light: #a668c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b20a9",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 279.854,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45952,
    "c": 0.20415,
    "h": 310.7
  },
  "luminance": 0.08109
}

Semantic roles & 50–950 ramp

primary
#7B20A9
secondary
#81C65F
accent
#EB3D77
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B20A9

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

Preview Lab → · Contrast checker → · Palette generator →

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