#7F15A0#7F15A0

#7F15A0 is a mid, highly saturated purple. Relative luminance 0.076; OKLCH L 45.1% C 0.206 H 315.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#7F15A0
RGBrgb(127, 21, 160)
HSLhsl(286, 77%, 35%)
HSVhsv(286, 87%, 63%)
CMYKcmyk(20.6%, 86.9%, 0%, 37.3%)
CIE-LABlab(33.11, 60.70, -50.89)
CIE-LCHlch(33.11, 79.21, 320.02°)
OKLaboklab(45.1% 0.148 -0.1438)
OKLCHoklch(45.1% 0.206 315.8)
XYZxyz(15.3647, 7.5871, 33.9060)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F15A0 #36A015
analogous
#3915A0 #7F15A0 #A0157C
triadic
#7F15A0 #A07F15 #15A07F
tetradic
#7F15A0 #A03915 #36A015 #157CA0
square
#7F15A0 #A03915 #36A015 #157CA0
split-complementary
#7F15A0 #7CA015 #15A039
monochromatic
#290734 #540E6A #7F15A0 #AA1CD6 #C148E7

Accessibility & contrast

On white

8.34
#7F15A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7F15A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F15A0
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F15A0#FFFFFF#000000##FFFFFF
##7F15A01.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#0E509D
Tritanopia (blue-blind)
#7C3A5E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7f15a0;
/* rgb */ color: rgb(127, 21, 160);
/* oklch */ color: oklch(45.1% 0.206 315.8);
Tailwind
colors: {
  custom: {
    50: '#a964bd',
    500: '#7f15a0',
    950: '#000000',
  },
}
SCSS
$custom: #7f15a0;
$custom-light: #a964bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f15a0",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 285.755,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45095,
    "c": 0.20633,
    "h": 315.8
  },
  "luminance": 0.07586
}

Semantic roles & 50–950 ramp

primary
#7F15A0
secondary
#67C849
accent
#F33462
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7F15A0

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

Preview Lab → · Contrast checker → · Palette generator →

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