#7B24B3#7B24B3

#7B24B3 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.1% C 0.210 H 307.5°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#7B24B3
RGBrgb(123, 36, 179)
HSLhsl(277, 67%, 42%)
HSVhsv(277, 80%, 70%)
CMYKcmyk(31.3%, 79.9%, 0%, 29.8%)
CIE-LABlab(35.45, 59.56, -58.51)
CIE-LCHlch(35.45, 83.49, 315.51°)
OKLaboklab(47.07% 0.1276 -0.1664)
OKLCHoklch(47.07% 0.21 307.5)
XYZxyz(16.9342, 8.7276, 43.4316)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B24B3 #5CB324
analogous
#3324B3 #7B24B3 #B324A4
triadic
#7B24B3 #B37B24 #24B37B
tetradic
#7B24B3 #B33324 #5CB324 #24A4B3
square
#7B24B3 #B33324 #5CB324 #24A4B3
split-complementary
#7B24B3 #A4B324 #24B333
monochromatic
#35104D #581A80 #7B24B3 #9B3CD8 #B56FE2

Accessibility & contrast

On white

7.65
#7B24B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7B24B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B24B3
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B24B3#FFFFFF#000000##FFFFFF
##7B24B31.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#72496C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7b24b3;
/* rgb */ color: rgb(123, 36, 179);
/* oklch */ color: oklch(47.1% 0.210 307.5);
Tailwind
colors: {
  custom: {
    50: '#a76acb',
    500: '#7b24b3',
    950: '#000000',
  },
}
SCSS
$custom: #7b24b3;
$custom-light: #a76acb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b24b3",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 179
  },
  "hsl": {
    "h": 276.503,
    "s": 66.512,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47067,
    "c": 0.20969,
    "h": 307.5
  },
  "luminance": 0.08727
}

Semantic roles & 50–950 ramp

primary
#7B24B3
secondary
#8FC96A
accent
#E93E81
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B24B3

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

Preview Lab → · Contrast checker → · Palette generator →

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