#7D24BF#7D24BF

#7D24BF is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.3% C 0.221 H 305.1°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#7D24BF
RGBrgb(125, 36, 191)
HSLhsl(274, 68%, 45%)
HSVhsv(274, 81%, 75%)
CMYKcmyk(34.6%, 81.2%, 0%, 25.1%)
CIE-LABlab(36.71, 62.51, -63.54)
CIE-LCHlch(36.71, 89.13, 314.53°)
OKLaboklab(48.31% 0.1271 -0.1811)
OKLCHoklch(48.31% 0.221 305.1)
XYZxyz(18.4902, 9.3834, 50.1172)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D24BF #66BF24
analogous
#3024BF #7D24BF #BF24B3
triadic
#7D24BF #BF7D24 #24BF7D
tetradic
#7D24BF #BF3024 #66BF24 #24B3BF
square
#7D24BF #BF3024 #66BF24 #24B3BF
split-complementary
#7D24BF #B3BF24 #24BF30
monochromatic
#3A1158 #5B1A8C #7D24BF #9B44DC #B778E6

Accessibility & contrast

On white

7.30
#7D24BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7D24BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D24BF
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D24BF#FFFFFF#000000##FFFFFF
##7D24BF1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#704F73
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d24bf;
/* rgb */ color: rgb(125, 36, 191);
/* oklch */ color: oklch(48.3% 0.221 305.1);
Tailwind
colors: {
  custom: {
    50: '#a96bd3',
    500: '#7d24bf',
    950: '#000000',
  },
}
SCSS
$custom: #7d24bf;
$custom-light: #a96bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d24bf",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 191
  },
  "hsl": {
    "h": 274.452,
    "s": 68.282,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48305,
    "c": 0.22129,
    "h": 305.1
  },
  "luminance": 0.09383
}

Semantic roles & 50–950 ramp

primary
#7D24BF
secondary
#99CD72
accent
#EB3D87
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #7D24BF

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

Preview Lab → · Contrast checker → · Palette generator →

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