#7A22B0#7A22B0

#7A22B0 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.5% C 0.208 H 308.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7A22B0
RGBrgb(122, 34, 176)
HSLhsl(277, 68%, 41%)
HSVhsv(277, 81%, 69%)
CMYKcmyk(30.7%, 80.7%, 0%, 31%)
CIE-LABlab(34.84, 59.43, -57.74)
CIE-LCHlch(34.84, 82.86, 315.83°)
OKLaboklab(46.53% 0.1285 -0.1642)
OKLCHoklch(46.53% 0.208 308)
XYZxyz(16.4329, 8.4165, 41.8247)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A22B0 #58B022
analogous
#3322B0 #7A22B0 #B0229F
triadic
#7A22B0 #B07A22 #22B07A
tetradic
#7A22B0 #B03322 #58B022 #229FB0
square
#7A22B0 #B03322 #58B022 #229FB0
split-complementary
#7A22B0 #9FB022 #22B033
monochromatic
#330E49 #56187D #7A22B0 #9B37D8 #B56AE2

Accessibility & contrast

On white

7.83
#7A22B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7A22B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A22B0
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A22B0#FFFFFF#000000##FFFFFF
##7A22B01.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#71476A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7a22b0;
/* rgb */ color: rgb(122, 34, 176);
/* oklch */ color: oklch(46.5% 0.208 308.0);
Tailwind
colors: {
  custom: {
    50: '#a669c9',
    500: '#7a22b0',
    950: '#000000',
  },
}
SCSS
$custom: #7a22b0;
$custom-light: #a669c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a22b0",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 176
  },
  "hsl": {
    "h": 277.183,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4653,
    "c": 0.20847,
    "h": 308
  },
  "luminance": 0.08416
}

Semantic roles & 50–950 ramp

primary
#7A22B0
secondary
#8BC866
accent
#EA3D7F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A22B0

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

Preview Lab → · Contrast checker → · Palette generator →

#7A22B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva