#7022AF#7022AF

#7022AF is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.1% C 0.205 H 303.9°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7022AF
RGBrgb(112, 34, 175)
HSLhsl(273, 67%, 41%)
HSVhsv(273, 81%, 69%)
CMYKcmyk(36%, 80.6%, 0%, 31.4%)
CIE-LABlab(33.32, 57.57, -59.68)
CIE-LCHlch(33.32, 82.92, 313.97°)
OKLaboklab(45.15% 0.1146 -0.1702)
OKLCHoklch(45.15% 0.205 303.9)
XYZxyz(14.9902, 7.6840, 41.2426)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7022AF #61AF22
analogous
#2922AF #7022AF #AF22A7
triadic
#7022AF #AF7022 #22AF70
tetradic
#7022AF #AF2922 #61AF22 #22A7AF
square
#7022AF #AF2922 #61AF22 #22A7AF
split-complementary
#7022AF #A7AF22 #22AF29
monochromatic
#2E0E49 #4F187C #7022AF #9036D8 #AC69E2

Accessibility & contrast

On white

8.28
#7022AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7022AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7022AF
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7022AF#FFFFFF#000000##FFFFFF
##7022AF1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#634869
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7022af;
/* rgb */ color: rgb(112, 34, 175);
/* oklch */ color: oklch(45.1% 0.205 303.9);
Tailwind
colors: {
  custom: {
    50: '#9f67c8',
    500: '#7022af',
    950: '#000000',
  },
}
SCSS
$custom: #7022af;
$custom-light: #9f67c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7022af",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 273.191,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45146,
    "c": 0.20522,
    "h": 303.9
  },
  "luminance": 0.07684
}

Semantic roles & 50–950 ramp

primary
#7022AF
secondary
#91C865
accent
#EA3D8B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7022AF

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

Preview Lab → · Contrast checker → · Palette generator →

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