#7F22AE#7F22AE

#7F22AE is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.0% C 0.208 H 310.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#7F22AE
RGBrgb(127, 34, 174)
HSLhsl(280, 67%, 41%)
HSVhsv(280, 80%, 68%)
CMYKcmyk(27%, 80.5%, 0%, 31.8%)
CIE-LABlab(35.42, 59.85, -55.55)
CIE-LCHlch(35.42, 81.66, 317.13°)
OKLaboklab(47.05% 0.1358 -0.1576)
OKLCHoklch(47.05% 0.208 310.7)
XYZxyz(16.9629, 8.7125, 40.8243)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F22AE #51AE22
analogous
#3922AE #7F22AE #AE2297
triadic
#7F22AE #AE7F22 #22AE7F
tetradic
#7F22AE #AE3922 #51AE22 #2297AE
square
#7F22AE #AE3922 #51AE22 #2297AE
split-complementary
#7F22AE #97AE22 #22AE39
monochromatic
#340E48 #5A187B #7F22AE #A136D8 #B969E2

Accessibility & contrast

On white

7.66
#7F22AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7F22AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F22AE
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F22AE#FFFFFF#000000##FFFFFF
##7F22AE1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0055AB
Tritanopia (blue-blind)
#794669
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7f22ae;
/* rgb */ color: rgb(127, 34, 174);
/* oklch */ color: oklch(47.0% 0.208 310.7);
Tailwind
colors: {
  custom: {
    50: '#a969c7',
    500: '#7f22ae',
    950: '#000000',
  },
}
SCSS
$custom: #7f22ae;
$custom-light: #a969c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f22ae",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 174
  },
  "hsl": {
    "h": 279.857,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47046,
    "c": 0.20802,
    "h": 310.7
  },
  "luminance": 0.08712
}

Semantic roles & 50–950 ramp

primary
#7F22AE
secondary
#86C764
accent
#EA3E78
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F22AE

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

Preview Lab → · Contrast checker → · Palette generator →

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