#7022BA#7022BA

#7022BA is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 46.1% C 0.216 H 301.0°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#7022BA
RGBrgb(112, 34, 186)
HSLhsl(271, 69%, 43%)
HSVhsv(271, 82%, 73%)
CMYKcmyk(39.8%, 81.7%, 0%, 27.1%)
CIE-LABlab(34.26, 60.10, -64.67)
CIE-LCHlch(34.26, 88.29, 312.90°)
OKLaboklab(46.09% 0.1113 -0.1849)
OKLCHoklch(46.09% 0.216 301)
XYZxyz(16.1149, 8.1338, 47.1658)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7022BA #6CBA22
analogous
#2422BA #7022BA #BA22B8
triadic
#7022BA #BA7022 #22BA70
tetradic
#7022BA #BA2422 #6CBA22 #22B8BA
square
#7022BA #BA2422 #6CBA22 #22B8BA
split-complementary
#7022BA #B8BA22 #22BA24
monochromatic
#320F53 #511986 #7022BA #8F3EDC #AD71E5

Accessibility & contrast

On white

7.99
#7022BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7022BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7022BA
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7022BA#FFFFFF#000000##FFFFFF
##7022BA1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BE
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#5F4D70
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7022ba;
/* rgb */ color: rgb(112, 34, 186);
/* oklch */ color: oklch(46.1% 0.216 301.0);
Tailwind
colors: {
  custom: {
    50: '#a068d0',
    500: '#7022ba',
    950: '#000000',
  },
}
SCSS
$custom: #7022ba;
$custom-light: #a068d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7022ba",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 186
  },
  "hsl": {
    "h": 270.789,
    "s": 69.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46092,
    "c": 0.21581,
    "h": 301
  },
  "luminance": 0.08134
}

Semantic roles & 50–950 ramp

primary
#7022BA
secondary
#9BCC6C
accent
#EC3C92
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7022BA

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

Preview Lab → · Contrast checker → · Palette generator →

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