#7B24A8#7B24A8

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

Color values

HEX#7B24A8
RGBrgb(123, 36, 168)
HSLhsl(280, 65%, 40%)
HSVhsv(280, 79%, 66%)
CMYKcmyk(26.8%, 78.6%, 0%, 34.1%)
CIE-LABlab(34.60, 57.20, -53.33)
CIE-LCHlch(34.60, 78.20, 317.01°)
OKLaboklab(46.2% 0.1301 -0.1512)
OKLCHoklch(46.2% 0.199 310.7)
XYZxyz(15.8658, 8.3002, 37.8045)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B24A8 #51A824
analogous
#3924A8 #7B24A8 #A82493
triadic
#7B24A8 #A87B24 #24A87B
tetradic
#7B24A8 #A83924 #51A824 #2493A8
square
#7B24A8 #A83924 #51A824 #2493A8
split-complementary
#7B24A8 #93A824 #24A839
monochromatic
#310E43 #561976 #7B24A8 #9E35D4 #B668DF

Accessibility & contrast

On white

7.89
#7B24A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7B24A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B24A8
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B24A8#FFFFFF#000000##FFFFFF
##7B24A81.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#0053A5
Tritanopia (blue-blind)
#754566
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7b24a8;
/* rgb */ color: rgb(123, 36, 168);
/* oklch */ color: oklch(46.2% 0.199 310.7);
Tailwind
colors: {
  custom: {
    50: '#a669c3',
    500: '#7b24a8',
    950: '#000000',
  },
}
SCSS
$custom: #7b24a8;
$custom-light: #a669c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b24a8",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 279.545,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.46202,
    "c": 0.19947,
    "h": 310.7
  },
  "luminance": 0.083
}

Semantic roles & 50–950 ramp

primary
#7B24A8
secondary
#84C463
accent
#E84079
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B24A8

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

Preview Lab → · Contrast checker → · Palette generator →

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