#7A24AF#7A24AF

#7A24AF is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.206 H 308.2°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#7A24AF
RGBrgb(122, 36, 175)
HSLhsl(277, 66%, 41%)
HSVhsv(277, 79%, 69%)
CMYKcmyk(30.3%, 79.4%, 0%, 31.4%)
CIE-LABlab(34.99, 58.52, -56.89)
CIE-LCHlch(34.99, 81.62, 315.81°)
OKLaboklab(46.62% 0.1272 -0.1617)
OKLCHoklch(46.62% 0.206 308.2)
XYZxyz(16.3932, 8.4947, 41.3252)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A24AF #59AF24
analogous
#3424AF #7A24AF #AF249F
triadic
#7A24AF #AF7A24 #24AF7A
tetradic
#7A24AF #AF3424 #59AF24 #249FAF
square
#7A24AF #AF3424 #59AF24 #249FAF
split-complementary
#7A24AF #9FAF24 #24AF34
monochromatic
#330F49 #571A7C #7A24AF #9B3AD6 #B56DE1

Accessibility & contrast

On white

7.78
#7A24AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A24AF
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A24AF#FFFFFF#000000##FFFFFF
##7A24AF1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a24af;
/* rgb */ color: rgb(122, 36, 175);
/* oklch */ color: oklch(46.6% 0.206 308.2);
Tailwind
colors: {
  custom: {
    50: '#a669c8',
    500: '#7a24af',
    950: '#000000',
  },
}
SCSS
$custom: #7a24af;
$custom-light: #a669c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a24af",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 277.122,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46615,
    "c": 0.2057,
    "h": 308.2
  },
  "luminance": 0.08494
}

Semantic roles & 50–950 ramp

primary
#7A24AF
secondary
#8CC768
accent
#E93F80
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A24AF

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

Preview Lab → · Contrast checker → · Palette generator →

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