#7B24AD#7B24AD

#7B24AD is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.204 H 309.2°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#7B24AD
RGBrgb(123, 36, 173)
HSLhsl(278, 66%, 41%)
HSVhsv(278, 79%, 68%)
CMYKcmyk(28.9%, 79.2%, 0%, 32.2%)
CIE-LABlab(34.98, 58.26, -55.70)
CIE-LCHlch(34.98, 80.61, 316.29°)
OKLaboklab(46.59% 0.129 -0.1582)
OKLCHoklch(46.59% 0.204 309.2)
XYZxyz(16.3405, 8.4902, 40.3050)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B24AD #56AD24
analogous
#3624AD #7B24AD #AD249A
triadic
#7B24AD #AD7B24 #24AD7B
tetradic
#7B24AD #AD3624 #56AD24 #249AAD
square
#7B24AD #AD3624 #56AD24 #249AAD
split-complementary
#7B24AD #9AAD24 #24AD36
monochromatic
#330F48 #57197A #7B24AD #9C39D6 #B66BE0

Accessibility & contrast

On white

7.78
#7B24AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7B24AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B24AD
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B24AD#FFFFFF#000000##FFFFFF
##7B24AD1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b24ad;
/* rgb */ color: rgb(123, 36, 173);
/* oklch */ color: oklch(46.6% 0.204 309.2);
Tailwind
colors: {
  custom: {
    50: '#a66ac6',
    500: '#7b24ad',
    950: '#000000',
  },
}
SCSS
$custom: #7b24ad;
$custom-light: #a66ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b24ad",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 173
  },
  "hsl": {
    "h": 278.102,
    "s": 65.55,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46591,
    "c": 0.2041,
    "h": 309.2
  },
  "luminance": 0.0849
}

Semantic roles & 50–950 ramp

primary
#7B24AD
secondary
#89C666
accent
#E93F7D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B24AD

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

Preview Lab → · Contrast checker → · Palette generator →

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