#7C22AF#7C22AF

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

Color values

HEX#7C22AF
RGBrgb(124, 34, 175)
HSLhsl(278, 67%, 41%)
HSVhsv(278, 81%, 69%)
CMYKcmyk(29.1%, 80.6%, 0%, 31.4%)
CIE-LABlab(35.05, 59.55, -56.78)
CIE-LCHlch(35.05, 82.28, 316.37°)
OKLaboklab(46.72% 0.1315 -0.1613)
OKLCHoklch(46.72% 0.208 309.2)
XYZxyz(16.6205, 8.5246, 41.3190)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C22AF #55AF22
analogous
#3522AF #7C22AF #AF229B
triadic
#7C22AF #AF7C22 #22AF7C
tetradic
#7C22AF #AF3522 #55AF22 #229BAF
square
#7C22AF #AF3522 #55AF22 #229BAF
split-complementary
#7C22AF #9BAF22 #22AF35
monochromatic
#330E49 #58187C #7C22AF #9D36D8 #B669E2

Accessibility & contrast

On white

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

On black

2.70
#7C22AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7C22AF#FFFFFF#000000##FFFFFF
##7C22AF1.007.762.707.76
#FFFFFF7.761.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#744769
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7c22af;
/* rgb */ color: rgb(124, 34, 175);
/* oklch */ color: oklch(46.7% 0.208 309.2);
Tailwind
colors: {
  custom: {
    50: '#a769c8',
    500: '#7c22af',
    950: '#000000',
  },
}
SCSS
$custom: #7c22af;
$custom-light: #a769c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c22af",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 278.298,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46718,
    "c": 0.20808,
    "h": 309.2
  },
  "luminance": 0.08524
}

Semantic roles & 50–950 ramp

primary
#7C22AF
secondary
#89C865
accent
#EA3D7C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C22AF

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

Preview Lab → · Contrast checker → · Palette generator →

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