#7B24AB#7B24AB

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

Color values

HEX#7B24AB
RGBrgb(123, 36, 171)
HSLhsl(279, 65%, 41%)
HSVhsv(279, 79%, 67%)
CMYKcmyk(28.1%, 78.9%, 0%, 32.9%)
CIE-LABlab(34.83, 57.84, -54.75)
CIE-LCHlch(34.83, 79.64, 316.57°)
OKLaboklab(46.43% 0.1295 -0.1554)
OKLCHoklch(46.43% 0.202 309.8)
XYZxyz(16.1485, 8.4133, 39.2934)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B24AB #54AB24
analogous
#3824AB #7B24AB #AB2497
triadic
#7B24AB #AB7B24 #24AB7B
tetradic
#7B24AB #AB3824 #54AB24 #2497AB
square
#7B24AB #AB3824 #54AB24 #2497AB
split-complementary
#7B24AB #97AB24 #24AB38
monochromatic
#320F46 #571978 #7B24AB #9D37D5 #B66AE0

Accessibility & contrast

On white

7.83
#7B24AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B24AB
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B24AB#FFFFFF#000000##FFFFFF
##7B24AB1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#744667
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7b24ab;
/* rgb */ color: rgb(123, 36, 171);
/* oklch */ color: oklch(46.4% 0.202 309.8);
Tailwind
colors: {
  custom: {
    50: '#a669c5',
    500: '#7b24ab',
    950: '#000000',
  },
}
SCSS
$custom: #7b24ab;
$custom-light: #a669c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b24ab",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 171
  },
  "hsl": {
    "h": 278.667,
    "s": 65.217,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46434,
    "c": 0.20225,
    "h": 309.8
  },
  "luminance": 0.08413
}

Semantic roles & 50–950 ramp

primary
#7B24AB
secondary
#87C665
accent
#E8407C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B24AB

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

Preview Lab → · Contrast checker → · Palette generator →

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