#7B24AE#7B24AE

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

Color values

HEX#7B24AE
RGBrgb(123, 36, 174)
HSLhsl(278, 66%, 41%)
HSVhsv(278, 79%, 68%)
CMYKcmyk(29.3%, 79.3%, 0%, 31.8%)
CIE-LABlab(35.06, 58.48, -56.17)
CIE-LCHlch(35.06, 81.09, 316.15°)
OKLaboklab(46.67% 0.1288 -0.1595)
OKLCHoklch(46.67% 0.205 308.9)
XYZxyz(16.4377, 8.5290, 40.8165)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B24AE #57AE24
analogous
#3624AE #7B24AE #AE249C
triadic
#7B24AE #AE7B24 #24AE7B
tetradic
#7B24AE #AE3624 #57AE24 #249CAE
square
#7B24AE #AE3624 #57AE24 #249CAE
split-complementary
#7B24AE #9CAE24 #24AE36
monochromatic
#330F49 #571A7B #7B24AE #9C39D6 #B56CE1

Accessibility & contrast

On white

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

On black

2.71
#7B24AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7B24AE#FFFFFF#000000##FFFFFF
##7B24AE1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0053AB
Tritanopia (blue-blind)
#734769
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7b24ae;
/* rgb */ color: rgb(123, 36, 174);
/* oklch */ color: oklch(46.7% 0.205 308.9);
Tailwind
colors: {
  custom: {
    50: '#a66ac7',
    500: '#7b24ae',
    950: '#000000',
  },
}
SCSS
$custom: #7b24ae;
$custom-light: #a66ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b24ae",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 174
  },
  "hsl": {
    "h": 277.826,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46669,
    "c": 0.20503,
    "h": 308.9
  },
  "luminance": 0.08529
}

Semantic roles & 50–950 ramp

primary
#7B24AE
secondary
#8AC767
accent
#E93F7E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B24AE

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

Preview Lab → · Contrast checker → · Palette generator →

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