#7B24C5#7B24C5

#7B24C5 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.6% C 0.226 H 302.7°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#7B24C5
RGBrgb(123, 36, 197)
HSLhsl(272, 69%, 46%)
HSVhsv(272, 82%, 77%)
CMYKcmyk(37.6%, 81.7%, 0%, 22.7%)
CIE-LABlab(36.94, 63.53, -66.70)
CIE-LCHlch(36.94, 92.12, 313.61°)
OKLaboklab(48.56% 0.1225 -0.1905)
OKLCHoklch(48.56% 0.226 302.7)
XYZxyz(18.8749, 9.5039, 53.6525)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B24C5 #6EC524
analogous
#2A24C5 #7B24C5 #C524BF
triadic
#7B24C5 #C57B24 #24C57B
tetradic
#7B24C5 #C52A24 #6EC524 #24BFC5
square
#7B24C5 #C52A24 #6EC524 #24BFC5
split-complementary
#7B24C5 #BFC524 #24C52A
monochromatic
#3A115E #5B1B91 #7B24C5 #9949DE #B67CE7

Accessibility & contrast

On white

7.24
#7B24C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7B24C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B24C5
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B24C5#FFFFFF#000000##FFFFFF
##7B24C51.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#0056C2
Tritanopia (blue-blind)
#6B5176
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7b24c5;
/* rgb */ color: rgb(123, 36, 197);
/* oklch */ color: oklch(48.6% 0.226 302.7);
Tailwind
colors: {
  custom: {
    50: '#a86bd8',
    500: '#7b24c5',
    950: '#000000',
  },
}
SCSS
$custom: #7b24c5;
$custom-light: #a86bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b24c5",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 197
  },
  "hsl": {
    "h": 272.422,
    "s": 69.099,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48557,
    "c": 0.22647,
    "h": 302.7
  },
  "luminance": 0.09504
}

Semantic roles & 50–950 ramp

primary
#7B24C5
secondary
#9FCF76
accent
#EC3C8D
background
#FAF6FD
surface
#F5ECFA
border
#CFC7D3
text
#110715
muted
#807A83

Preview Lab

Preview with #7B24C5

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

Preview Lab → · Contrast checker → · Palette generator →

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