#7022B3#7022B3

#7022B3 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.5% C 0.209 H 302.9°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#7022B3
RGBrgb(112, 34, 179)
HSLhsl(272, 68%, 42%)
HSVhsv(272, 81%, 70%)
CMYKcmyk(37.4%, 81%, 0%, 29.8%)
CIE-LABlab(33.65, 58.49, -61.51)
CIE-LCHlch(33.65, 84.88, 313.56°)
OKLaboklab(45.49% 0.1135 -0.1756)
OKLCHoklch(45.49% 0.209 302.9)
XYZxyz(15.3889, 7.8435, 43.3423)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7022B3 #65B322
analogous
#2822B3 #7022B3 #B322AE
triadic
#7022B3 #B37022 #22B370
tetradic
#7022B3 #B32822 #65B322 #22AEB3
square
#7022B3 #B32822 #65B322 #22AEB3
split-complementary
#7022B3 #AEB322 #22B328
monochromatic
#300E4C #501880 #7022B3 #8F39D9 #AC6CE3

Accessibility & contrast

On white

8.18
#7022B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7022B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7022B3
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7022B3#FFFFFF#000000##FFFFFF
##7022B31.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#624A6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7022b3;
/* rgb */ color: rgb(112, 34, 179);
/* oklch */ color: oklch(45.5% 0.209 302.9);
Tailwind
colors: {
  custom: {
    50: '#a068cb',
    500: '#7022b3',
    950: '#000000',
  },
}
SCSS
$custom: #7022b3;
$custom-light: #a068cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7022b3",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 272.276,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45486,
    "c": 0.20907,
    "h": 302.9
  },
  "luminance": 0.07843
}

Semantic roles & 50–950 ramp

primary
#7022B3
secondary
#95C968
accent
#EB3D8D
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7022B3

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

Preview Lab → · Contrast checker → · Palette generator →

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