#7B20B9#7B20B9

#7B20B9 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.2% C 0.219 H 306.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#7B20B9
RGBrgb(123, 32, 185)
HSLhsl(276, 71%, 43%)
HSVhsv(276, 83%, 73%)
CMYKcmyk(33.5%, 82.7%, 0%, 27.5%)
CIE-LABlab(35.49, 62.17, -62.00)
CIE-LCHlch(35.49, 87.81, 315.08°)
OKLaboklab(47.25% 0.1288 -0.1767)
OKLCHoklch(47.25% 0.219 306.1)
XYZxyz(17.4399, 8.7469, 46.6591)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B20B9 #5EB920
analogous
#2E20B9 #7B20B9 #B920AB
triadic
#7B20B9 #B97B20 #20B97B
tetradic
#7B20B9 #B92E20 #5EB920 #20ABB9
square
#7B20B9 #B92E20 #5EB920 #20ABB9
split-complementary
#7B20B9 #ABB920 #20B92E
monochromatic
#360E51 #581785 #7B20B9 #9B39DD #B56EE6

Accessibility & contrast

On white

7.64
#7B20B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7B20B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B20B9
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B20B9#FFFFFF#000000##FFFFFF
##7B20B91.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BD
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#704B6F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7b20b9;
/* rgb */ color: rgb(123, 32, 185);
/* oklch */ color: oklch(47.2% 0.219 306.1);
Tailwind
colors: {
  custom: {
    50: '#a769cf',
    500: '#7b20b9',
    950: '#000000',
  },
}
SCSS
$custom: #7b20b9;
$custom-light: #a769cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b20b9",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 185
  },
  "hsl": {
    "h": 275.686,
    "s": 70.507,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47245,
    "c": 0.21865,
    "h": 306.1
  },
  "luminance": 0.08747
}

Semantic roles & 50–950 ramp

primary
#7B20B9
secondary
#91CC69
accent
#ED3B83
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7B20B9

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

Preview Lab → · Contrast checker → · Palette generator →

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