#7F24B1#7F24B1

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

Color values

HEX#7F24B1
RGBrgb(127, 36, 177)
HSLhsl(279, 66%, 42%)
HSVhsv(279, 80%, 69%)
CMYKcmyk(28.2%, 79.7%, 0%, 30.6%)
CIE-LABlab(35.88, 59.81, -56.59)
CIE-LCHlch(35.88, 82.34, 316.58°)
OKLaboklab(47.44% 0.1335 -0.1607)
OKLCHoklch(47.44% 0.209 309.7)
XYZxyz(17.3175, 8.9485, 42.4014)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F24B1 #56B124
analogous
#3824B1 #7F24B1 #B1249D
triadic
#7F24B1 #B17F24 #24B17F
tetradic
#7F24B1 #B13824 #56B124 #249DB1
square
#7F24B1 #B13824 #56B124 #249DB1
split-complementary
#7F24B1 #9DB124 #24B138
monochromatic
#360F4B #5B1A7E #7F24B1 #A03BD7 #B96EE1

Accessibility & contrast

On white

7.53
#7F24B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7F24B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F24B1
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F24B1#FFFFFF#000000##FFFFFF
##7F24B11.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0056AE
Tritanopia (blue-blind)
#78486B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7f24b1;
/* rgb */ color: rgb(127, 36, 177);
/* oklch */ color: oklch(47.4% 0.209 309.7);
Tailwind
colors: {
  custom: {
    50: '#a96ac9',
    500: '#7f24b1',
    950: '#000000',
  },
}
SCSS
$custom: #7f24b1;
$custom-light: #a96ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f24b1",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 278.723,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4744,
    "c": 0.20889,
    "h": 309.7
  },
  "luminance": 0.08948
}

Semantic roles & 50–950 ramp

primary
#7F24B1
secondary
#8BC869
accent
#E93F7B
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F24B1

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

Preview Lab → · Contrast checker → · Palette generator →

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