#7B20BB#7B20BB

#7B20BB is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.4% C 0.220 H 305.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#7B20BB
RGBrgb(123, 32, 187)
HSLhsl(275, 71%, 43%)
HSVhsv(275, 83%, 73%)
CMYKcmyk(34.2%, 82.9%, 0%, 26.7%)
CIE-LABlab(35.66, 62.60, -62.91)
CIE-LCHlch(35.66, 88.76, 314.86°)
OKLaboklab(47.41% 0.1282 -0.1793)
OKLCHoklch(47.41% 0.22 305.6)
XYZxyz(17.6525, 8.8320, 47.7789)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B20BB #60BB20
analogous
#2E20BB #7B20BB #BB20AD
triadic
#7B20BB #BB7B20 #20BB7B
tetradic
#7B20BB #BB2E20 #60BB20 #20ADBB
square
#7B20BB #BB2E20 #60BB20 #20ADBB
split-complementary
#7B20BB #ADBB20 #20BB2E
monochromatic
#360E52 #591787 #7B20BB #9A3BDD #B56FE6

Accessibility & contrast

On white

7.59
#7B20BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7B20BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B20BB
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B20BB#FFFFFF#000000##FFFFFF
##7B20BB1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#6F4B70
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7b20bb;
/* rgb */ color: rgb(123, 32, 187);
/* oklch */ color: oklch(47.4% 0.220 305.6);
Tailwind
colors: {
  custom: {
    50: '#a869d1',
    500: '#7b20bb',
    950: '#000000',
  },
}
SCSS
$custom: #7b20bb;
$custom-light: #a869d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b20bb",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 187
  },
  "hsl": {
    "h": 275.226,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47411,
    "c": 0.22047,
    "h": 305.6
  },
  "luminance": 0.08832
}

Semantic roles & 50–950 ramp

primary
#7B20BB
secondary
#93CD6A
accent
#EE3A84
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7B20BB

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

Preview Lab → · Contrast checker → · Palette generator →

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