#7D22BB#7D22BB

#7D22BB is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.8% C 0.219 H 306.3°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7D22BB
RGBrgb(125, 34, 187)
HSLhsl(276, 69%, 43%)
HSVhsv(276, 82%, 73%)
CMYKcmyk(33.2%, 81.8%, 0%, 26.7%)
CIE-LABlab(36.16, 62.28, -62.08)
CIE-LCHlch(36.16, 87.94, 315.09°)
OKLaboklab(47.82% 0.1297 -0.1768)
OKLCHoklch(47.82% 0.219 306.3)
XYZxyz(17.9971, 9.0921, 47.8109)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D22BB #60BB22
analogous
#3022BB #7D22BB #BB22AC
triadic
#7D22BB #BB7D22 #22BB7D
tetradic
#7D22BB #BB3022 #60BB22 #22ACBB
square
#7D22BB #BB3022 #60BB22 #22ACBB
split-complementary
#7D22BB #ACBB22 #22BB30
monochromatic
#380F53 #5A1987 #7D22BB #9C3EDC #B772E5

Accessibility & contrast

On white

7.45
#7D22BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7D22BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D22BB
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D22BB#FFFFFF#000000##FFFFFF
##7D22BB1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#724C70
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d22bb;
/* rgb */ color: rgb(125, 34, 187);
/* oklch */ color: oklch(47.8% 0.219 306.3);
Tailwind
colors: {
  custom: {
    50: '#a96ad0',
    500: '#7d22bb',
    950: '#000000',
  },
}
SCSS
$custom: #7d22bb;
$custom-light: #a96ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d22bb",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 187
  },
  "hsl": {
    "h": 275.686,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4782,
    "c": 0.21929,
    "h": 306.3
  },
  "luminance": 0.09092
}

Semantic roles & 50–950 ramp

primary
#7D22BB
secondary
#93CC6D
accent
#EC3C83
background
#FAF6FC
surface
#F5ECF9
border
#CFC7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #7D22BB

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

Preview Lab → · Contrast checker → · Palette generator →

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