#7F24BB#7F24BB

#7F24BB is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.2% C 0.218 H 306.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7F24BB
RGBrgb(127, 36, 187)
HSLhsl(276, 68%, 44%)
HSVhsv(276, 81%, 73%)
CMYKcmyk(32.1%, 80.7%, 0%, 26.7%)
CIE-LABlab(36.67, 61.95, -61.24)
CIE-LCHlch(36.67, 87.11, 315.33°)
OKLaboklab(48.24% 0.131 -0.1743)
OKLCHoklch(48.24% 0.218 306.9)
XYZxyz(18.3510, 9.3619, 47.8443)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F24BB #60BB24
analogous
#3324BB #7F24BB #BB24AB
triadic
#7F24BB #BB7F24 #24BB7F
tetradic
#7F24BB #BB3324 #60BB24 #24ABBB
square
#7F24BB #BB3324 #60BB24 #24ABBB
split-complementary
#7F24BB #ABBB24 #24BB33
monochromatic
#391054 #5C1A88 #7F24BB #9E42DB #B875E4

Accessibility & contrast

On white

7.31
#7F24BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7F24BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F24BB
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F24BB#FFFFFF#000000##FFFFFF
##7F24BB1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#754C71
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7f24bb;
/* rgb */ color: rgb(127, 36, 187);
/* oklch */ color: oklch(48.2% 0.218 306.9);
Tailwind
colors: {
  custom: {
    50: '#aa6bd0',
    500: '#7f24bb',
    950: '#000000',
  },
}
SCSS
$custom: #7f24bb;
$custom-light: #aa6bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f24bb",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 187
  },
  "hsl": {
    "h": 276.159,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48235,
    "c": 0.21805,
    "h": 306.9
  },
  "luminance": 0.09362
}

Semantic roles & 50–950 ramp

primary
#7F24BB
secondary
#94CC6F
accent
#EB3D82
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #7F24BB

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

Preview Lab → · Contrast checker → · Palette generator →

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