#7F24B0#7F24B0

#7F24B0 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.4% C 0.208 H 310.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7F24B0
RGBrgb(127, 36, 176)
HSLhsl(279, 66%, 42%)
HSVhsv(279, 80%, 69%)
CMYKcmyk(27.8%, 79.5%, 0%, 31%)
CIE-LABlab(35.81, 59.60, -56.12)
CIE-LCHlch(35.81, 81.87, 316.72°)
OKLaboklab(47.36% 0.1337 -0.1593)
OKLCHoklch(47.36% 0.208 310)
XYZxyz(17.2182, 8.9087, 41.8784)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F24B0 #55B024
analogous
#3924B0 #7F24B0 #B0249B
triadic
#7F24B0 #B07F24 #24B07F
tetradic
#7F24B0 #B03924 #55B024 #249BB0
square
#7F24B0 #B03924 #55B024 #249BB0
split-complementary
#7F24B0 #9BB024 #24B039
monochromatic
#360F4A #5A1A7D #7F24B0 #A03AD7 #B96DE1

Accessibility & contrast

On white

7.55
#7F24B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7F24B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F24B0
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F24B0#FFFFFF#000000##FFFFFF
##7F24B01.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#78476A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7f24b0;
/* rgb */ color: rgb(127, 36, 176);
/* oklch */ color: oklch(47.4% 0.208 310.0);
Tailwind
colors: {
  custom: {
    50: '#a96ac8',
    500: '#7f24b0',
    950: '#000000',
  },
}
SCSS
$custom: #7f24b0;
$custom-light: #a96ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f24b0",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 279,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47362,
    "c": 0.20798,
    "h": 310
  },
  "luminance": 0.08908
}

Semantic roles & 50–950 ramp

primary
#7F24B0
secondary
#8AC868
accent
#E93F7A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F24B0

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

Preview Lab → · Contrast checker → · Palette generator →

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