#7815A1#7815A1

#7815A1 is a dark, highly saturated purple. Relative luminance 0.071; OKLCH L 44.1% C 0.205 H 312.5°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#7815A1
RGBrgb(120, 21, 161)
HSLhsl(282, 77%, 36%)
HSVhsv(282, 87%, 63%)
CMYKcmyk(25.5%, 87%, 0%, 36.9%)
CIE-LABlab(32.04, 59.76, -53.28)
CIE-LCHlch(32.04, 80.07, 318.28°)
OKLaboklab(44.15% 0.1386 -0.1511)
OKLCHoklch(44.15% 0.205 312.5)
XYZxyz(14.4457, 7.1031, 34.3214)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7815A1 #3EA115
analogous
#3215A1 #7815A1 #A11584
triadic
#7815A1 #A17815 #15A178
tetradic
#7815A1 #A13215 #3EA115 #1584A1
square
#7815A1 #A13215 #3EA115 #1584A1
split-complementary
#7815A1 #84A115 #15A132
monochromatic
#270735 #500E6B #7815A1 #A01CD7 #B949E7

Accessibility & contrast

On white

8.68
#7815A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7815A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7815A1
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7815A1#FFFFFF#000000##FFFFFF
##7815A11.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#004D9E
Tritanopia (blue-blind)
#733C5F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7815a1;
/* rgb */ color: rgb(120, 21, 161);
/* oklch */ color: oklch(44.1% 0.205 312.5);
Tailwind
colors: {
  custom: {
    50: '#a463be',
    500: '#7815a1',
    950: '#000000',
  },
}
SCSS
$custom: #7815a1;
$custom-light: #a463be;
$custom-dark: #000000;
JSON
{
  "hex": "#7815a1",
  "rgb": {
    "r": 120,
    "g": 21,
    "b": 161
  },
  "hsl": {
    "h": 282.429,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4415,
    "c": 0.205,
    "h": 312.5
  },
  "luminance": 0.07103
}

Semantic roles & 50–950 ramp

primary
#7815A1
secondary
#6FC849
accent
#F3346C
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7815A1

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

Preview Lab → · Contrast checker → · Palette generator →

#7815A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva