#7222BC#7222BC

#7222BC is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.5% C 0.218 H 301.4°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#7222BC
RGBrgb(114, 34, 188)
HSLhsl(271, 69%, 44%)
HSVhsv(271, 82%, 74%)
CMYKcmyk(39.4%, 81.9%, 0%, 26.3%)
CIE-LABlab(34.71, 60.85, -65.11)
CIE-LCHlch(34.71, 89.12, 313.06°)
OKLaboklab(46.51% 0.1136 -0.1861)
OKLCHoklch(46.51% 0.218 301.4)
XYZxyz(16.5863, 8.3522, 48.3055)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7222BC #6CBC22
analogous
#2522BC #7222BC #BC22B9
triadic
#7222BC #BC7222 #22BC72
tetradic
#7222BC #BC2522 #6CBC22 #22B9BC
square
#7222BC #BC2522 #6CBC22 #22B9BC
split-complementary
#7222BC #B9BC22 #22BC25
monochromatic
#330F54 #531988 #7222BC #913FDC #AE73E6

Accessibility & contrast

On white

7.86
#7222BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7222BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7222BC
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7222BC#FFFFFF#000000##FFFFFF
##7222BC1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C0
Deuteranopia (green-blind)
#0051B9
Tritanopia (blue-blind)
#614E71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7222bc;
/* rgb */ color: rgb(114, 34, 188);
/* oklch */ color: oklch(46.5% 0.218 301.4);
Tailwind
colors: {
  custom: {
    50: '#a268d1',
    500: '#7222bc',
    950: '#000000',
  },
}
SCSS
$custom: #7222bc;
$custom-light: #a268d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7222bc",
  "rgb": {
    "r": 114,
    "g": 34,
    "b": 188
  },
  "hsl": {
    "h": 271.169,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46512,
    "c": 0.21805,
    "h": 301.4
  },
  "luminance": 0.08352
}

Semantic roles & 50–950 ramp

primary
#7222BC
secondary
#9BCD6D
accent
#EC3C90
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7222BC

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

Preview Lab → · Contrast checker → · Palette generator →

#7222BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva