#7820B3#7820B3

#7820B3 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.4% C 0.212 H 306.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#7820B3
RGBrgb(120, 32, 179)
HSLhsl(276, 70%, 41%)
HSVhsv(276, 82%, 70%)
CMYKcmyk(33%, 82.1%, 0%, 29.8%)
CIE-LABlab(34.56, 60.41, -59.98)
CIE-LCHlch(34.56, 85.13, 315.20°)
OKLaboklab(46.35% 0.1263 -0.1708)
OKLCHoklch(46.35% 0.212 306.5)
XYZxyz(16.3971, 8.2809, 43.3736)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7820B3 #5BB320
analogous
#2E20B3 #7820B3 #B320A5
triadic
#7820B3 #B37820 #20B378
tetradic
#7820B3 #B32E20 #5BB320 #20A5B3
square
#7820B3 #B32E20 #5BB320 #20A5B3
split-complementary
#7820B3 #A5B320 #20B32E
monochromatic
#320D4B #55177F #7820B3 #9835DB #B369E4

Accessibility & contrast

On white

7.91
#7820B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7820B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7820B3
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7820B3#FFFFFF#000000##FFFFFF
##7820B31.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#6D486B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7820b3;
/* rgb */ color: rgb(120, 32, 179);
/* oklch */ color: oklch(46.4% 0.212 306.5);
Tailwind
colors: {
  custom: {
    50: '#a568cb',
    500: '#7820b3',
    950: '#000000',
  },
}
SCSS
$custom: #7820b3;
$custom-light: #a568cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7820b3",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 275.918,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46354,
    "c": 0.21247,
    "h": 306.5
  },
  "luminance": 0.08281
}

Semantic roles & 50–950 ramp

primary
#7820B3
secondary
#8DCA65
accent
#EC3B82
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7820B3

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

Preview Lab → · Contrast checker → · Palette generator →

#7820B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva