#7022A8#7022A8

#7022A8 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.6% C 0.198 H 305.9°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#7022A8
RGBrgb(112, 34, 168)
HSLhsl(275, 66%, 40%)
HSVhsv(275, 80%, 66%)
CMYKcmyk(33.3%, 79.8%, 0%, 34.1%)
CIE-LABlab(32.74, 55.99, -56.43)
CIE-LCHlch(32.74, 79.49, 314.77°)
OKLaboklab(44.56% 0.1165 -0.1607)
OKLCHoklch(44.56% 0.198 305.9)
XYZxyz(14.3204, 7.4161, 37.7152)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7022A8 #5AA822
analogous
#2D22A8 #7022A8 #A8229D
triadic
#7022A8 #A87022 #22A870
tetradic
#7022A8 #A82D22 #5AA822 #229DA8
square
#7022A8 #A82D22 #5AA822 #229DA8
split-complementary
#7022A8 #9DA822 #22A82D
monochromatic
#2C0D42 #4E1875 #7022A8 #9132D5 #AC65E0

Accessibility & contrast

On white

8.46
#7022A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7022A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7022A8
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7022A8#FFFFFF#000000##FFFFFF
##7022A81.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#004DA5
Tritanopia (blue-blind)
#664565
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7022a8;
/* rgb */ color: rgb(112, 34, 168);
/* oklch */ color: oklch(44.6% 0.198 305.9);
Tailwind
colors: {
  custom: {
    50: '#9f67c3',
    500: '#7022a8',
    950: '#000000',
  },
}
SCSS
$custom: #7022a8;
$custom-light: #9f67c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7022a8",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 274.925,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44561,
    "c": 0.19849,
    "h": 305.9
  },
  "luminance": 0.07416
}

Semantic roles & 50–950 ramp

primary
#7022A8
secondary
#8BC561
accent
#E93F86
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #7022A8

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

Preview Lab → · Contrast checker → · Palette generator →

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