#7B24C1#7B24C1

#7B24C1 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.2% C 0.223 H 303.7°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7B24C1
RGBrgb(123, 36, 193)
HSLhsl(273, 69%, 45%)
HSVhsv(273, 81%, 76%)
CMYKcmyk(36.3%, 81.3%, 0%, 24.3%)
CIE-LABlab(36.60, 62.64, -64.91)
CIE-LCHlch(36.60, 90.21, 313.98°)
OKLaboklab(48.22% 0.1237 -0.1852)
OKLCHoklch(48.22% 0.223 303.7)
XYZxyz(18.4226, 9.3230, 51.2707)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B24C1 #6AC124
analogous
#2C24C1 #7B24C1 #C124B9
triadic
#7B24C1 #C17B24 #24C17B
tetradic
#7B24C1 #C12C24 #6AC124 #24B9C1
square
#7B24C1 #C12C24 #6AC124 #24B9C1
split-complementary
#7B24C1 #B9C124 #24C12C
monochromatic
#39115A #5A1A8D #7B24C1 #9946DC #B679E6

Accessibility & contrast

On white

7.33
#7B24C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7B24C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B24C1
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B24C1#FFFFFF#000000##FFFFFF
##7B24C11.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#0056BE
Tritanopia (blue-blind)
#6D5074
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7b24c1;
/* rgb */ color: rgb(123, 36, 193);
/* oklch */ color: oklch(48.2% 0.223 303.7);
Tailwind
colors: {
  custom: {
    50: '#a86bd5',
    500: '#7b24c1',
    950: '#000000',
  },
}
SCSS
$custom: #7b24c1;
$custom-light: #a86bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b24c1",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 193
  },
  "hsl": {
    "h": 273.248,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48218,
    "c": 0.22274,
    "h": 303.7
  },
  "luminance": 0.09323
}

Semantic roles & 50–950 ramp

primary
#7B24C1
secondary
#9BCE73
accent
#EB3C8A
background
#FAF6FD
surface
#F5ECFA
border
#CFC7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #7B24C1

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

Preview Lab → · Contrast checker → · Palette generator →

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