#7B24BD#7B24BD

#7B24BD is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.9% C 0.219 H 304.8°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7B24BD
RGBrgb(123, 36, 189)
HSLhsl(274, 68%, 44%)
HSVhsv(274, 81%, 74%)
CMYKcmyk(34.9%, 81%, 0%, 25.9%)
CIE-LABlab(36.27, 61.76, -63.10)
CIE-LCHlch(36.27, 88.29, 314.38°)
OKLaboklab(47.88% 0.1249 -0.1799)
OKLCHoklch(47.88% 0.219 304.8)
XYZxyz(17.9825, 9.1469, 48.9524)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B24BD #66BD24
analogous
#2F24BD #7B24BD #BD24B3
triadic
#7B24BD #BD7B24 #24BD7B
tetradic
#7B24BD #BD2F24 #66BD24 #24B3BD
square
#7B24BD #BD2F24 #66BD24 #24B3BD
split-complementary
#7B24BD #B3BD24 #24BD2F
monochromatic
#381056 #5A1A8A #7B24BD #9A43DB #B576E5

Accessibility & contrast

On white

7.42
#7B24BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7B24BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B24BD
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B24BD#FFFFFF#000000##FFFFFF
##7B24BD1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#6E4E72
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7b24bd;
/* rgb */ color: rgb(123, 36, 189);
/* oklch */ color: oklch(47.9% 0.219 304.8);
Tailwind
colors: {
  custom: {
    50: '#a86ad2',
    500: '#7b24bd',
    950: '#000000',
  },
}
SCSS
$custom: #7b24bd;
$custom-light: #a86ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b24bd",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 274.118,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47884,
    "c": 0.219,
    "h": 304.8
  },
  "luminance": 0.09147
}

Semantic roles & 50–950 ramp

primary
#7B24BD
secondary
#98CC70
accent
#EB3D88
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7B24BD

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

Preview Lab → · Contrast checker → · Palette generator →

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