#7A22B3#7A22B3

#7A22B3 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.8% C 0.211 H 307.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#7A22B3
RGBrgb(122, 34, 179)
HSLhsl(276, 68%, 42%)
HSVhsv(276, 81%, 70%)
CMYKcmyk(31.8%, 81%, 0%, 29.8%)
CIE-LABlab(35.08, 60.07, -59.13)
CIE-LCHlch(35.08, 84.29, 315.45°)
OKLaboklab(46.77% 0.1277 -0.1683)
OKLCHoklch(46.77% 0.211 307.2)
XYZxyz(16.7330, 8.5365, 43.4053)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A22B3 #5BB322
analogous
#3222B3 #7A22B3 #B322A4
triadic
#7A22B3 #B37A22 #22B37A
tetradic
#7A22B3 #B33222 #5BB322 #22A4B3
square
#7A22B3 #B33222 #5BB322 #22A4B3
split-complementary
#7A22B3 #A4B322 #22B332
monochromatic
#340E4C #571880 #7A22B3 #9A39D9 #B46CE3

Accessibility & contrast

On white

7.76
#7A22B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7A22B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A22B3
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A22B3#FFFFFF#000000##FFFFFF
##7A22B31.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#70496C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7a22b3;
/* rgb */ color: rgb(122, 34, 179);
/* oklch */ color: oklch(46.8% 0.211 307.2);
Tailwind
colors: {
  custom: {
    50: '#a669cb',
    500: '#7a22b3',
    950: '#000000',
  },
}
SCSS
$custom: #7a22b3;
$custom-light: #a669cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a22b3",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 276.414,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46773,
    "c": 0.21124,
    "h": 307.2
  },
  "luminance": 0.08536
}

Semantic roles & 50–950 ramp

primary
#7A22B3
secondary
#8EC968
accent
#EB3D81
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A22B3

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

Preview Lab → · Contrast checker → · Palette generator →

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