#7B15A1#7B15A1

#7B15A1 is a dark, highly saturated purple. Relative luminance 0.073; OKLCH L 44.6% C 0.206 H 313.8°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#7B15A1
RGBrgb(123, 21, 161)
HSLhsl(284, 77%, 36%)
HSVhsv(284, 87%, 63%)
CMYKcmyk(23.6%, 87%, 0%, 36.9%)
CIE-LABlab(32.53, 60.24, -52.47)
CIE-LCHlch(32.53, 79.89, 318.94°)
OKLaboklab(44.59% 0.1425 -0.1486)
OKLCHoklch(44.59% 0.206 313.8)
XYZxyz(14.8684, 7.3210, 34.3412)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B15A1 #3BA115
analogous
#3515A1 #7B15A1 #A11581
triadic
#7B15A1 #A17B15 #15A17B
tetradic
#7B15A1 #A13515 #3BA115 #1581A1
square
#7B15A1 #A13515 #3BA115 #1581A1
split-complementary
#7B15A1 #81A115 #15A135
monochromatic
#280735 #520E6B #7B15A1 #A41CD7 #BC49E7

Accessibility & contrast

On white

8.52
#7B15A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7B15A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B15A1
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B15A1#FFFFFF#000000##FFFFFF
##7B15A11.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#004F9E
Tritanopia (blue-blind)
#773B5F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7b15a1;
/* rgb */ color: rgb(123, 21, 161);
/* oklch */ color: oklch(44.6% 0.206 313.8);
Tailwind
colors: {
  custom: {
    50: '#a663be',
    500: '#7b15a1',
    950: '#000000',
  },
}
SCSS
$custom: #7b15a1;
$custom-light: #a663be;
$custom-dark: #000000;
JSON
{
  "hex": "#7b15a1",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 161
  },
  "hsl": {
    "h": 283.714,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44585,
    "c": 0.2059,
    "h": 313.8
  },
  "luminance": 0.0732
}

Semantic roles & 50–950 ramp

primary
#7B15A1
secondary
#6CC849
accent
#F33468
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7B15A1

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

Preview Lab → · Contrast checker → · Palette generator →

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