#7B24AF#7B24AF

#7B24AF is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.7% C 0.206 H 308.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#7B24AF
RGBrgb(123, 36, 175)
HSLhsl(278, 66%, 41%)
HSVhsv(278, 79%, 69%)
CMYKcmyk(29.7%, 79.4%, 0%, 31.4%)
CIE-LABlab(35.14, 58.70, -56.64)
CIE-LCHlch(35.14, 81.57, 316.02°)
OKLaboklab(46.75% 0.1285 -0.1609)
OKLCHoklch(46.75% 0.206 308.6)
XYZxyz(16.5355, 8.5681, 41.3319)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B24AF #58AF24
analogous
#3624AF #7B24AF #AF249E
triadic
#7B24AF #AF7B24 #24AF7B
tetradic
#7B24AF #AF3624 #58AF24 #249EAF
square
#7B24AF #AF3624 #58AF24 #249EAF
split-complementary
#7B24AF #9EAF24 #24AF36
monochromatic
#340F49 #571A7C #7B24AF #9C3AD6 #B56DE1

Accessibility & contrast

On white

7.74
#7B24AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B24AF
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B24AF#FFFFFF#000000##FFFFFF
##7B24AF1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#73486A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7b24af;
/* rgb */ color: rgb(123, 36, 175);
/* oklch */ color: oklch(46.7% 0.206 308.6);
Tailwind
colors: {
  custom: {
    50: '#a66ac8',
    500: '#7b24af',
    950: '#000000',
  },
}
SCSS
$custom: #7b24af;
$custom-light: #a66ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b24af",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 277.554,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46748,
    "c": 0.20597,
    "h": 308.6
  },
  "luminance": 0.08568
}

Semantic roles & 50–950 ramp

primary
#7B24AF
secondary
#8BC768
accent
#E93F7F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B24AF

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

Preview Lab → · Contrast checker → · Palette generator →

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