#7022BB#7022BB

#7022BB is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.2% C 0.217 H 300.8°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#7022BB
RGBrgb(112, 34, 187)
HSLhsl(271, 69%, 43%)
HSVhsv(271, 82%, 73%)
CMYKcmyk(40.1%, 81.8%, 0%, 26.7%)
CIE-LABlab(34.35, 60.33, -65.12)
CIE-LCHlch(34.35, 88.77, 312.81°)
OKLaboklab(46.18% 0.111 -0.1862)
OKLCHoklch(46.18% 0.217 300.8)
XYZxyz(16.2215, 8.1765, 47.7277)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7022BB #6DBB22
analogous
#2322BB #7022BB #BB22B9
triadic
#7022BB #BB7022 #22BB70
tetradic
#7022BB #BB2322 #6DBB22 #22B9BB
square
#7022BB #BB2322 #6DBB22 #22B9BB
split-complementary
#7022BB #B9BB22 #22BB23
monochromatic
#320F53 #511987 #7022BB #8F3EDC #AD72E5

Accessibility & contrast

On white

7.97
#7022BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7022BB
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7022BB#FFFFFF#000000##FFFFFF
##7022BB1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BF
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#5F4E70
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7022bb;
/* rgb */ color: rgb(112, 34, 187);
/* oklch */ color: oklch(46.2% 0.217 300.8);
Tailwind
colors: {
  custom: {
    50: '#a068d1',
    500: '#7022bb',
    950: '#000000',
  },
}
SCSS
$custom: #7022bb;
$custom-light: #a068d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7022bb",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 187
  },
  "hsl": {
    "h": 270.588,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4618,
    "c": 0.21677,
    "h": 300.8
  },
  "luminance": 0.08177
}

Semantic roles & 50–950 ramp

primary
#7022BB
secondary
#9BCC6D
accent
#EC3C92
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7022BB

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

Preview Lab → · Contrast checker → · Palette generator →

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