#7D15B4#7D15B4

#7D15B4 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.4% C 0.222 H 308.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#7D15B4
RGBrgb(125, 21, 180)
HSLhsl(279, 79%, 39%)
HSVhsv(279, 88%, 71%)
CMYKcmyk(30.6%, 88.3%, 0%, 29.4%)
CIE-LABlab(34.38, 64.35, -60.84)
CIE-LCHlch(34.38, 88.56, 316.60°)
OKLaboklab(46.41% 0.1397 -0.1731)
OKLCHoklch(46.41% 0.222 308.9)
XYZxyz(16.9621, 8.1919, 43.8588)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D15B4 #4CB415
analogous
#2D15B4 #7D15B4 #B4159C
triadic
#7D15B4 #B47D15 #15B47D
tetradic
#7D15B4 #B42D15 #4CB415 #159CB4
square
#7D15B4 #B42D15 #4CB415 #159CB4
split-complementary
#7D15B4 #9CB415 #15B42D
monochromatic
#310846 #570F7D #7D15B4 #A121E5 #B858EC

Accessibility & contrast

On white

7.96
#7D15B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7D15B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D15B4
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D15B4#FFFFFF#000000##FFFFFF
##7D15B41.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#74446A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d15b4;
/* rgb */ color: rgb(125, 21, 180);
/* oklch */ color: oklch(46.4% 0.222 308.9);
Tailwind
colors: {
  custom: {
    50: '#a965cb',
    500: '#7d15b4',
    950: '#000000',
  },
}
SCSS
$custom: #7d15b4;
$custom-light: #a965cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d15b4",
  "rgb": {
    "r": 125,
    "g": 21,
    "b": 180
  },
  "hsl": {
    "h": 279.245,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46408,
    "c": 0.22245,
    "h": 308.9
  },
  "luminance": 0.08192
}

Semantic roles & 50–950 ramp

primary
#7D15B4
secondary
#80CF56
accent
#F63276
background
#FAF6FC
surface
#F5EBF9
border
#CFC6D2
text
#110613
muted
#807A82

Preview Lab

Preview with #7D15B4

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

Preview Lab → · Contrast checker → · Palette generator →

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