#7A15B4#7A15B4

#7A15B4 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 46.0% C 0.222 H 307.7°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#7A15B4
RGBrgb(122, 21, 180)
HSLhsl(278, 79%, 39%)
HSVhsv(278, 88%, 71%)
CMYKcmyk(32.2%, 88.3%, 0%, 29.4%)
CIE-LABlab(33.92, 63.93, -61.62)
CIE-LCHlch(33.92, 88.79, 316.06°)
OKLaboklab(46% 0.1355 -0.1755)
OKLCHoklch(46% 0.222 307.7)
XYZxyz(16.5307, 7.9694, 43.8386)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A15B4 #4FB415
analogous
#2B15B4 #7A15B4 #B4159F
triadic
#7A15B4 #B47A15 #15B47A
tetradic
#7A15B4 #B42B15 #4FB415 #159FB4
square
#7A15B4 #B42B15 #4FB415 #159FB4
split-complementary
#7A15B4 #9FB415 #15B42B
monochromatic
#300846 #550F7D #7A15B4 #9E21E5 #B658EC

Accessibility & contrast

On white

8.10
#7A15B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7A15B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A15B4
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A15B4#FFFFFF#000000##FFFFFF
##7A15B41.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#70456A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a15b4;
/* rgb */ color: rgb(122, 21, 180);
/* oklch */ color: oklch(46.0% 0.222 307.7);
Tailwind
colors: {
  custom: {
    50: '#a765cc',
    500: '#7a15b4',
    950: '#000000',
  },
}
SCSS
$custom: #7a15b4;
$custom-light: #a765cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a15b4",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 180
  },
  "hsl": {
    "h": 278.113,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45997,
    "c": 0.22173,
    "h": 307.7
  },
  "luminance": 0.07969
}

Semantic roles & 50–950 ramp

primary
#7A15B4
secondary
#82CF56
accent
#F63279
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7A15B4

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

Preview Lab → · Contrast checker → · Palette generator →

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