#7B24A2#7B24A2

#7B24A2 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.194 H 312.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#7B24A2
RGBrgb(123, 36, 162)
HSLhsl(281, 64%, 39%)
HSVhsv(281, 78%, 64%)
CMYKcmyk(24.1%, 77.8%, 0%, 36.5%)
CIE-LABlab(34.15, 55.93, -50.44)
CIE-LCHlch(34.15, 75.32, 317.96°)
OKLaboklab(45.75% 0.1313 -0.1427)
OKLCHoklch(45.75% 0.194 312.6)
XYZxyz(15.3197, 8.0818, 34.9284)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B24A2 #4BA224
analogous
#3C24A2 #7B24A2 #A2248A
triadic
#7B24A2 #A27B24 #24A27B
tetradic
#7B24A2 #A23C24 #4BA224 #248AA2
square
#7B24A2 #A23C24 #4BA224 #248AA2
split-complementary
#7B24A2 #8AA224 #24A23C
monochromatic
#2F0E3E #551970 #7B24A2 #A032D1 #B764DD

Accessibility & contrast

On white

8.03
#7B24A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7B24A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B24A2
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B24A2#FFFFFF#000000##FFFFFF
##7B24A21.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#11529F
Tritanopia (blue-blind)
#764262
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b24a2;
/* rgb */ color: rgb(123, 36, 162);
/* oklch */ color: oklch(45.7% 0.194 312.6);
Tailwind
colors: {
  custom: {
    50: '#a669be',
    500: '#7b24a2',
    950: '#000000',
  },
}
SCSS
$custom: #7b24a2;
$custom-light: #a669be;
$custom-dark: #000000;
JSON
{
  "hex": "#7b24a2",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 281.429,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45746,
    "c": 0.19392,
    "h": 312.6
  },
  "luminance": 0.08081
}

Semantic roles & 50–950 ramp

primary
#7B24A2
secondary
#7EC260
accent
#E74174
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B24A2

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

Preview Lab → · Contrast checker → · Palette generator →

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