#7022BD#7022BD

#7022BD is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.4% C 0.219 H 300.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#7022BD
RGBrgb(112, 34, 189)
HSLhsl(270, 70%, 44%)
HSVhsv(270, 82%, 74%)
CMYKcmyk(40.7%, 82%, 0%, 25.9%)
CIE-LABlab(34.52, 60.79, -66.01)
CIE-LCHlch(34.52, 89.74, 312.64°)
OKLaboklab(46.36% 0.1104 -0.1888)
OKLCHoklch(46.36% 0.219 300.3)
XYZxyz(16.4371, 8.2628, 48.8631)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7022BD #6FBD22
analogous
#2322BD #7022BD #BD22BC
triadic
#7022BD #BD7022 #22BD70
tetradic
#7022BD #BD2322 #6FBD22 #22BCBD
square
#7022BD #BD2322 #6FBD22 #22BCBD
split-complementary
#7022BD #BCBD22 #22BD23
monochromatic
#330F55 #511989 #7022BD #8F40DD #AD73E6

Accessibility & contrast

On white

7.92
#7022BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7022BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7022BD
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7022BD#FFFFFF#000000##FFFFFF
##7022BD1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#5E4F71
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7022bd;
/* rgb */ color: rgb(112, 34, 189);
/* oklch */ color: oklch(46.4% 0.219 300.3);
Tailwind
colors: {
  custom: {
    50: '#a168d2',
    500: '#7022bd',
    950: '#000000',
  },
}
SCSS
$custom: #7022bd;
$custom-light: #a168d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7022bd",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 270.194,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46356,
    "c": 0.2187,
    "h": 300.3
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

primary
#7022BD
secondary
#9DCD6E
accent
#EC3B93
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7022BD

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

Preview Lab → · Contrast checker → · Palette generator →

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