#7B20B0#7B20B0

#7B20B0 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.5% C 0.210 H 308.6°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#7B20B0
RGBrgb(123, 32, 176)
HSLhsl(278, 69%, 41%)
HSVhsv(278, 82%, 69%)
CMYKcmyk(30.1%, 81.8%, 0%, 31%)
CIE-LABlab(34.76, 60.24, -57.85)
CIE-LCHlch(34.76, 83.52, 316.16°)
OKLaboklab(46.51% 0.1313 -0.1645)
OKLCHoklch(46.51% 0.21 308.6)
XYZxyz(16.5197, 8.3789, 41.8129)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B20B0 #55B020
analogous
#3320B0 #7B20B0 #B0209D
triadic
#7B20B0 #B07B20 #20B07B
tetradic
#7B20B0 #B03320 #55B020 #209DB0
square
#7B20B0 #B03320 #55B020 #209DB0
split-complementary
#7B20B0 #9DB020 #20B033
monochromatic
#330D48 #57177C #7B20B0 #9D33DA #B667E3

Accessibility & contrast

On white

7.85
#7B20B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7B20B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B20B0
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B20B0#FFFFFF#000000##FFFFFF
##7B20B01.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB4
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#73466A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7b20b0;
/* rgb */ color: rgb(123, 32, 176);
/* oklch */ color: oklch(46.5% 0.210 308.6);
Tailwind
colors: {
  custom: {
    50: '#a768c9',
    500: '#7b20b0',
    950: '#000000',
  },
}
SCSS
$custom: #7b20b0;
$custom-light: #a768c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b20b0",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 176
  },
  "hsl": {
    "h": 277.917,
    "s": 69.231,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46508,
    "c": 0.21048,
    "h": 308.6
  },
  "luminance": 0.08379
}

Semantic roles & 50–950 ramp

primary
#7B20B0
secondary
#88C963
accent
#EC3C7D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B20B0

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

Preview Lab → · Contrast checker → · Palette generator →

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