#7F24BE#7F24BE

#7F24BE is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.5% C 0.221 H 306.1°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7F24BE
RGBrgb(127, 36, 190)
HSLhsl(275, 68%, 44%)
HSVhsv(275, 81%, 75%)
CMYKcmyk(33.2%, 81.1%, 0%, 25.5%)
CIE-LABlab(36.91, 62.60, -62.61)
CIE-LCHlch(36.91, 88.54, 315.00°)
OKLaboklab(48.48% 0.1302 -0.1783)
OKLCHoklch(48.48% 0.221 306.1)
XYZxyz(18.6755, 9.4917, 49.5534)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F24BE #63BE24
analogous
#3224BE #7F24BE #BE24B0
triadic
#7F24BE #BE7F24 #24BE7F
tetradic
#7F24BE #BE3224 #63BE24 #24B0BE
square
#7F24BE #BE3224 #63BE24 #24B0BE
split-complementary
#7F24BE #B0BE24 #24BE32
monochromatic
#3A1157 #5D1A8B #7F24BE #9D44DC #B877E5

Accessibility & contrast

On white

7.25
#7F24BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7F24BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F24BE
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F24BE#FFFFFF#000000##FFFFFF
##7F24BE1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#744E72
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7f24be;
/* rgb */ color: rgb(127, 36, 190);
/* oklch */ color: oklch(48.5% 0.221 306.1);
Tailwind
colors: {
  custom: {
    50: '#aa6bd3',
    500: '#7f24be',
    950: '#000000',
  },
}
SCSS
$custom: #7f24be;
$custom-light: #aa6bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f24be",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 190
  },
  "hsl": {
    "h": 275.455,
    "s": 68.142,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48479,
    "c": 0.2208,
    "h": 306.1
  },
  "luminance": 0.09491
}

Semantic roles & 50–950 ramp

primary
#7F24BE
secondary
#97CD71
accent
#EB3D84
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #7F24BE

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

Preview Lab → · Contrast checker → · Palette generator →

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