#7020BD#7020BD

#7020BD is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.2% C 0.220 H 300.5°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#7020BD
RGBrgb(112, 32, 189)
HSLhsl(271, 71%, 43%)
HSVhsv(271, 83%, 74%)
CMYKcmyk(40.7%, 83.1%, 0%, 25.9%)
CIE-LABlab(34.30, 61.46, -66.38)
CIE-LCHlch(34.30, 90.46, 312.79°)
OKLaboklab(46.2% 0.1117 -0.1899)
OKLCHoklch(46.2% 0.22 300.5)
XYZxyz(16.3816, 8.1517, 48.8446)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7020BD #6DBD20
analogous
#2120BD #7020BD #BD20BB
triadic
#7020BD #BD7020 #20BD70
tetradic
#7020BD #BD2120 #6DBD20 #20BBBD
square
#7020BD #BD2120 #6DBD20 #20BBBD
split-complementary
#7020BD #BBBD20 #20BD21
monochromatic
#320E54 #511789 #7020BD #8F3CDE #AD71E7

Accessibility & contrast

On white

7.98
#7020BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7020BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7020BD
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7020BD#FFFFFF#000000##FFFFFF
##7020BD1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#5E4E71
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7020bd;
/* rgb */ color: rgb(112, 32, 189);
/* oklch */ color: oklch(46.2% 0.220 300.5);
Tailwind
colors: {
  custom: {
    50: '#a167d2',
    500: '#7020bd',
    950: '#000000',
  },
}
SCSS
$custom: #7020bd;
$custom-light: #a167d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7020bd",
  "rgb": {
    "r": 112,
    "g": 32,
    "b": 189
  },
  "hsl": {
    "h": 270.573,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46199,
    "c": 0.22031,
    "h": 300.5
  },
  "luminance": 0.08152
}

Semantic roles & 50–950 ramp

primary
#7020BD
secondary
#9BCD6B
accent
#EE3A92
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7020BD

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

Preview Lab → · Contrast checker → · Palette generator →

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