#7B24AA#7B24AA

#7B24AA is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.4% C 0.201 H 310.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#7B24AA
RGBrgb(123, 36, 170)
HSLhsl(279, 65%, 40%)
HSVhsv(279, 79%, 67%)
CMYKcmyk(27.6%, 78.8%, 0%, 33.3%)
CIE-LABlab(34.75, 57.62, -54.28)
CIE-LCHlch(34.75, 79.16, 316.71°)
OKLaboklab(46.36% 0.1297 -0.154)
OKLCHoklch(46.36% 0.201 310.1)
XYZxyz(16.0535, 8.3753, 38.7933)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B24AA #53AA24
analogous
#3824AA #7B24AA #AA2496
triadic
#7B24AA #AA7B24 #24AA7B
tetradic
#7B24AA #AA3824 #53AA24 #2496AA
square
#7B24AA #AA3824 #53AA24 #2496AA
split-complementary
#7B24AA #96AA24 #24AA38
monochromatic
#320F45 #561977 #7B24AA #9D37D5 #B669DF

Accessibility & contrast

On white

7.85
#7B24AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7B24AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B24AA
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B24AA#FFFFFF#000000##FFFFFF
##7B24AA1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#744567
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7b24aa;
/* rgb */ color: rgb(123, 36, 170);
/* oklch */ color: oklch(46.4% 0.201 310.1);
Tailwind
colors: {
  custom: {
    50: '#a669c4',
    500: '#7b24aa',
    950: '#000000',
  },
}
SCSS
$custom: #7b24aa;
$custom-light: #a669c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b24aa",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 170
  },
  "hsl": {
    "h": 278.955,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46356,
    "c": 0.20133,
    "h": 310.1
  },
  "luminance": 0.08375
}

Semantic roles & 50–950 ramp

primary
#7B24AA
secondary
#86C565
accent
#E8407B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B24AA

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

Preview Lab → · Contrast checker → · Palette generator →

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