#7F24B3#7F24B3

#7F24B3 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.6% C 0.211 H 309.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#7F24B3
RGBrgb(127, 36, 179)
HSLhsl(278, 67%, 42%)
HSVhsv(278, 80%, 70%)
CMYKcmyk(29.1%, 79.9%, 0%, 29.8%)
CIE-LABlab(36.04, 60.24, -57.53)
CIE-LCHlch(36.04, 83.30, 316.32°)
OKLaboklab(47.6% 0.133 -0.1634)
OKLCHoklch(47.6% 0.211 309.2)
XYZxyz(17.5183, 9.0288, 43.4590)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F24B3 #58B324
analogous
#3824B3 #7F24B3 #B324A0
triadic
#7F24B3 #B37F24 #24B37F
tetradic
#7F24B3 #B33824 #58B324 #24A0B3
square
#7F24B3 #B33824 #58B324 #24A0B3
split-complementary
#7F24B3 #A0B324 #24B338
monochromatic
#37104D #5B1A80 #7F24B3 #9F3CD8 #B86FE2

Accessibility & contrast

On white

7.49
#7F24B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7F24B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F24B3
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F24B3#FFFFFF#000000##FFFFFF
##7F24B31.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#77496C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7f24b3;
/* rgb */ color: rgb(127, 36, 179);
/* oklch */ color: oklch(47.6% 0.211 309.2);
Tailwind
colors: {
  custom: {
    50: '#a96acb',
    500: '#7f24b3',
    950: '#000000',
  },
}
SCSS
$custom: #7f24b3;
$custom-light: #a96acb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f24b3",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 179
  },
  "hsl": {
    "h": 278.182,
    "s": 66.512,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47597,
    "c": 0.21072,
    "h": 309.2
  },
  "luminance": 0.09028
}

Semantic roles & 50–950 ramp

primary
#7F24B3
secondary
#8CC96A
accent
#E93E7D
background
#FAF6FC
surface
#F5ECF9
border
#CFC7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #7F24B3

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

Preview Lab → · Contrast checker → · Palette generator →

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