#7020B3#7020B3

#7020B3 is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.3% C 0.211 H 303.0°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#7020B3
RGBrgb(112, 32, 179)
HSLhsl(273, 70%, 41%)
HSVhsv(273, 82%, 70%)
CMYKcmyk(37.4%, 82.1%, 0%, 29.8%)
CIE-LABlab(33.42, 59.17, -61.90)
CIE-LCHlch(33.42, 85.63, 313.71°)
OKLaboklab(45.32% 0.1149 -0.1767)
OKLCHoklch(45.32% 0.211 303)
XYZxyz(15.3333, 7.7324, 43.3238)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7020B3 #63B320
analogous
#2720B3 #7020B3 #B320AD
triadic
#7020B3 #B37020 #20B370
tetradic
#7020B3 #B32720 #63B320 #20ADB3
square
#7020B3 #B32720 #63B320 #20ADB3
split-complementary
#7020B3 #ADB320 #20B327
monochromatic
#2F0D4B #50177F #7020B3 #8F35DB #AC69E4

Accessibility & contrast

On white

8.25
#7020B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7020B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7020B3
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7020B3#FFFFFF#000000##FFFFFF
##7020B31.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#62496B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7020b3;
/* rgb */ color: rgb(112, 32, 179);
/* oklch */ color: oklch(45.3% 0.211 303.0);
Tailwind
colors: {
  custom: {
    50: '#a067cb',
    500: '#7020b3',
    950: '#000000',
  },
}
SCSS
$custom: #7020b3;
$custom-light: #a067cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7020b3",
  "rgb": {
    "r": 112,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 272.653,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45322,
    "c": 0.21079,
    "h": 303
  },
  "luminance": 0.07732
}

Semantic roles & 50–950 ramp

primary
#7020B3
secondary
#93CA65
accent
#EC3B8C
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7020B3

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

Preview Lab → · Contrast checker → · Palette generator →

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