#7022BC#7022BC

#7022BC is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.3% C 0.218 H 300.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#7022BC
RGBrgb(112, 34, 188)
HSLhsl(270, 69%, 44%)
HSVhsv(270, 82%, 74%)
CMYKcmyk(40.4%, 81.9%, 0%, 26.3%)
CIE-LABlab(34.44, 60.56, -65.57)
CIE-LCHlch(34.44, 89.25, 312.73°)
OKLaboklab(46.27% 0.1107 -0.1875)
OKLCHoklch(46.27% 0.218 300.5)
XYZxyz(16.3290, 8.2195, 48.2934)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7022BC #6EBC22
analogous
#2322BC #7022BC #BC22BB
triadic
#7022BC #BC7022 #22BC70
tetradic
#7022BC #BC2322 #6EBC22 #22BBBC
square
#7022BC #BC2322 #6EBC22 #22BBBC
split-complementary
#7022BC #BBBC22 #22BC23
monochromatic
#320F54 #511988 #7022BC #8F3FDC #AD73E6

Accessibility & contrast

On white

7.94
#7022BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7022BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7022BC
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7022BC#FFFFFF#000000##FFFFFF
##7022BC1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7022bc;
/* rgb */ color: rgb(112, 34, 188);
/* oklch */ color: oklch(46.3% 0.218 300.5);
Tailwind
colors: {
  custom: {
    50: '#a168d1',
    500: '#7022bc',
    950: '#000000',
  },
}
SCSS
$custom: #7022bc;
$custom-light: #a168d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7022bc",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 188
  },
  "hsl": {
    "h": 270.39,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46268,
    "c": 0.21773,
    "h": 300.5
  },
  "luminance": 0.0822
}

Semantic roles & 50–950 ramp

primary
#7022BC
secondary
#9CCD6D
accent
#EC3C93
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7022BC

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

Preview Lab → · Contrast checker → · Palette generator →

#7022BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva