#7B24A7#7B24A7

#7B24A7 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.1% C 0.199 H 311.0°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#7B24A7
RGBrgb(123, 36, 167)
HSLhsl(280, 65%, 40%)
HSVhsv(280, 78%, 65%)
CMYKcmyk(26.3%, 78.4%, 0%, 34.5%)
CIE-LABlab(34.52, 56.99, -52.85)
CIE-LCHlch(34.52, 77.72, 317.16°)
OKLaboklab(46.13% 0.1303 -0.1498)
OKLCHoklch(46.13% 0.199 311)
XYZxyz(15.7730, 8.2631, 37.3158)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B24A7 #50A724
analogous
#3924A7 #7B24A7 #A72492
triadic
#7B24A7 #A77B24 #24A77B
tetradic
#7B24A7 #A73924 #50A724 #2492A7
square
#7B24A7 #A73924 #50A724 #2492A7
split-complementary
#7B24A7 #92A724 #24A739
monochromatic
#310E42 #561975 #7B24A7 #9E35D3 #B667DE

Accessibility & contrast

On white

7.92
#7B24A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7B24A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B24A7
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B24A7#FFFFFF#000000##FFFFFF
##7B24A71.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0053A4
Tritanopia (blue-blind)
#754465
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7b24a7;
/* rgb */ color: rgb(123, 36, 167);
/* oklch */ color: oklch(46.1% 0.199 311.0);
Tailwind
colors: {
  custom: {
    50: '#a669c2',
    500: '#7b24a7',
    950: '#000000',
  },
}
SCSS
$custom: #7b24a7;
$custom-light: #a669c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b24a7",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 279.847,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46125,
    "c": 0.19855,
    "h": 311
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

primary
#7B24A7
secondary
#83C463
accent
#E84078
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B24A7

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

Preview Lab → · Contrast checker → · Palette generator →

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