#7B24B7#7B24B7

#7B24B7 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.4% C 0.213 H 306.4°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#7B24B7
RGBrgb(123, 36, 183)
HSLhsl(276, 67%, 43%)
HSVhsv(276, 80%, 72%)
CMYKcmyk(32.8%, 80.3%, 0%, 28.2%)
CIE-LABlab(35.78, 60.44, -60.36)
CIE-LCHlch(35.78, 85.41, 315.04°)
OKLaboklab(47.39% 0.1265 -0.1719)
OKLCHoklch(47.39% 0.213 306.4)
XYZxyz(17.3446, 8.8918, 45.5931)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B24B7 #60B724
analogous
#3124B7 #7B24B7 #B724A9
triadic
#7B24B7 #B77B24 #24B77B
tetradic
#7B24B7 #B73124 #60B724 #24A9B7
square
#7B24B7 #B73124 #60B724 #24A9B7
split-complementary
#7B24B7 #A9B724 #24B731
monochromatic
#361051 #591A84 #7B24B7 #9A3FD9 #B572E3

Accessibility & contrast

On white

7.56
#7B24B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7B24B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B24B7
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B24B7#FFFFFF#000000##FFFFFF
##7B24B71.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#704B6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7b24b7;
/* rgb */ color: rgb(123, 36, 183);
/* oklch */ color: oklch(47.4% 0.213 306.4);
Tailwind
colors: {
  custom: {
    50: '#a76ace',
    500: '#7b24b7',
    950: '#000000',
  },
}
SCSS
$custom: #7b24b7;
$custom-light: #a76ace;
$custom-dark: #000000;
JSON
{
  "hex": "#7b24b7",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 183
  },
  "hsl": {
    "h": 275.51,
    "s": 67.123,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4739,
    "c": 0.2134,
    "h": 306.4
  },
  "luminance": 0.08892
}

Semantic roles & 50–950 ramp

primary
#7B24B7
secondary
#93CA6D
accent
#EA3E84
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7B24B7

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

Preview Lab → · Contrast checker → · Palette generator →

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