#7820BD#7820BD

#7820BD is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.2% C 0.222 H 303.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#7820BD
RGBrgb(120, 32, 189)
HSLhsl(274, 71%, 43%)
HSVhsv(274, 83%, 74%)
CMYKcmyk(36.5%, 83.1%, 0%, 25.9%)
CIE-LABlab(35.40, 62.60, -64.53)
CIE-LCHlch(35.40, 89.91, 314.13°)
OKLaboklab(47.2% 0.1234 -0.1842)
OKLCHoklch(47.2% 0.222 303.8)
XYZxyz(17.4454, 8.7002, 48.8945)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7820BD #65BD20
analogous
#2A20BD #7820BD #BD20B3
triadic
#7820BD #BD7820 #20BD78
tetradic
#7820BD #BD2A20 #65BD20 #20B3BD
square
#7820BD #BD2A20 #65BD20 #20B3BD
split-complementary
#7820BD #B3BD20 #20BD2A
monochromatic
#360E54 #571789 #7820BD #973CDE #B371E7

Accessibility & contrast

On white

7.66
#7820BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7820BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7820BD
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7820BD#FFFFFF#000000##FFFFFF
##7820BD1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#6A4D71
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7820bd;
/* rgb */ color: rgb(120, 32, 189);
/* oklch */ color: oklch(47.2% 0.222 303.8);
Tailwind
colors: {
  custom: {
    50: '#a668d2',
    500: '#7820bd',
    950: '#000000',
  },
}
SCSS
$custom: #7820bd;
$custom-light: #a668d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7820bd",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 189
  },
  "hsl": {
    "h": 273.631,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47195,
    "c": 0.22168,
    "h": 303.8
  },
  "luminance": 0.087
}

Semantic roles & 50–950 ramp

primary
#7820BD
secondary
#96CD6B
accent
#EE3A89
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7820BD

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

Preview Lab → · Contrast checker → · Palette generator →

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