#7B24B0#7B24B0

#7B24B0 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.207 H 308.3°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#7B24B0
RGBrgb(123, 36, 176)
HSLhsl(277, 66%, 42%)
HSVhsv(277, 80%, 69%)
CMYKcmyk(30.1%, 79.5%, 0%, 31%)
CIE-LABlab(35.22, 58.91, -57.11)
CIE-LCHlch(35.22, 82.05, 315.89°)
OKLaboklab(46.83% 0.1283 -0.1623)
OKLCHoklch(46.83% 0.207 308.3)
XYZxyz(16.6341, 8.6076, 41.8510)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B24B0 #59B024
analogous
#3524B0 #7B24B0 #B0249F
triadic
#7B24B0 #B07B24 #24B07B
tetradic
#7B24B0 #B03524 #59B024 #249FB0
square
#7B24B0 #B03524 #59B024 #249FB0
split-complementary
#7B24B0 #9FB024 #24B035
monochromatic
#340F4A #571A7D #7B24B0 #9C3AD7 #B56DE1

Accessibility & contrast

On white

7.72
#7B24B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7B24B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B24B0
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B24B0#FFFFFF#000000##FFFFFF
##7B24B01.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#72486A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7b24b0;
/* rgb */ color: rgb(123, 36, 176);
/* oklch */ color: oklch(46.8% 0.207 308.3);
Tailwind
colors: {
  custom: {
    50: '#a76ac8',
    500: '#7b24b0',
    950: '#000000',
  },
}
SCSS
$custom: #7b24b0;
$custom-light: #a76ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b24b0",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 277.286,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46827,
    "c": 0.20689,
    "h": 308.3
  },
  "luminance": 0.08607
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B24B0

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

Preview Lab → · Contrast checker → · Palette generator →

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