#7B24AC#7B24AC

#7B24AC is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.5% C 0.203 H 309.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#7B24AC
RGBrgb(123, 36, 172)
HSLhsl(278, 65%, 41%)
HSVhsv(278, 79%, 67%)
CMYKcmyk(28.5%, 79.1%, 0%, 32.5%)
CIE-LABlab(34.91, 58.05, -55.23)
CIE-LCHlch(34.91, 80.12, 316.43°)
OKLaboklab(46.51% 0.1292 -0.1568)
OKLCHoklch(46.51% 0.203 309.5)
XYZxyz(16.2441, 8.4516, 39.7973)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B24AC #55AC24
analogous
#3724AC #7B24AC #AC2499
triadic
#7B24AC #AC7B24 #24AC7B
tetradic
#7B24AC #AC3724 #55AC24 #2499AC
square
#7B24AC #AC3724 #55AC24 #2499AC
split-complementary
#7B24AC #99AC24 #24AC37
monochromatic
#330F47 #571979 #7B24AC #9D38D5 #B66AE0

Accessibility & contrast

On white

7.81
#7B24AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7B24AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B24AC
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B24AC#FFFFFF#000000##FFFFFF
##7B24AC1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#744668
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7b24ac;
/* rgb */ color: rgb(123, 36, 172);
/* oklch */ color: oklch(46.5% 0.203 309.5);
Tailwind
colors: {
  custom: {
    50: '#a669c6',
    500: '#7b24ac',
    950: '#000000',
  },
}
SCSS
$custom: #7b24ac;
$custom-light: #a669c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b24ac",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 172
  },
  "hsl": {
    "h": 278.382,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46512,
    "c": 0.20318,
    "h": 309.5
  },
  "luminance": 0.08451
}

Semantic roles & 50–950 ramp

primary
#7B24AC
secondary
#88C666
accent
#E83F7C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B24AC

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

Preview Lab → · Contrast checker → · Palette generator →

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