#7F24BD#7F24BD

#7F24BD is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.4% C 0.220 H 306.4°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#7F24BD
RGBrgb(127, 36, 189)
HSLhsl(276, 68%, 44%)
HSVhsv(276, 81%, 74%)
CMYKcmyk(32.8%, 81%, 0%, 25.9%)
CIE-LABlab(36.83, 62.38, -62.15)
CIE-LCHlch(36.83, 88.06, 315.11°)
OKLaboklab(48.4% 0.1305 -0.177)
OKLCHoklch(48.4% 0.22 306.4)
XYZxyz(18.5666, 9.4481, 48.9798)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F24BD #62BD24
analogous
#3224BD #7F24BD #BD24AF
triadic
#7F24BD #BD7F24 #24BD7F
tetradic
#7F24BD #BD3224 #62BD24 #24AFBD
square
#7F24BD #BD3224 #62BD24 #24AFBD
split-complementary
#7F24BD #AFBD24 #24BD32
monochromatic
#3A1056 #5C1A8A #7F24BD #9E43DB #B876E5

Accessibility & contrast

On white

7.27
#7F24BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7F24BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F24BD
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F24BD#FFFFFF#000000##FFFFFF
##7F24BD1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#744D72
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7f24bd;
/* rgb */ color: rgb(127, 36, 189);
/* oklch */ color: oklch(48.4% 0.220 306.4);
Tailwind
colors: {
  custom: {
    50: '#aa6bd2',
    500: '#7f24bd',
    950: '#000000',
  },
}
SCSS
$custom: #7f24bd;
$custom-light: #aa6bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f24bd",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 275.686,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48397,
    "c": 0.21989,
    "h": 306.4
  },
  "luminance": 0.09448
}

Semantic roles & 50–950 ramp

primary
#7F24BD
secondary
#96CC70
accent
#EB3D83
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #7F24BD

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

Preview Lab → · Contrast checker → · Palette generator →

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