#7F00A7#7F00A7

#7F00A7 is a dark, highly saturated purple. Relative luminance 0.073; OKLCH L 44.8% C 0.222 H 314.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#7F00A7
RGBrgb(127, 0, 167)
HSLhsl(286, 100%, 33%)
HSVhsv(286, 100%, 65%)
CMYKcmyk(24%, 100%, 0%, 34.5%)
CIE-LABlab(32.49, 65.50, -56.14)
CIE-LCHlch(32.49, 86.27, 319.40°)
OKLaboklab(44.84% 0.1546 -0.1591)
OKLCHoklch(44.84% 0.222 314.2)
XYZxyz(15.7262, 7.3026, 37.1329)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F00A7 #28A700
analogous
#2C00A7 #7F00A7 #A7007B
triadic
#7F00A7 #A77F00 #00A77F
tetradic
#7F00A7 #A72C00 #28A700 #007BA7
square
#7F00A7 #A72C00 #28A700 #007BA7
split-complementary
#7F00A7 #7BA700 #00A72C
monochromatic
#22002D #50006A #7F00A7 #AE00E4 #CA22FF

Accessibility & contrast

On white

8.54
#7F00A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F00A7
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F00A7#FFFFFF#000000##FFFFFF
##7F00A71.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#004FA4
Tritanopia (blue-blind)
#7B3961
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f00a7;
/* rgb */ color: rgb(127, 0, 167);
/* oklch */ color: oklch(44.8% 0.222 314.2);
Tailwind
colors: {
  custom: {
    50: '#aa60c2',
    500: '#7f00a7',
    950: '#000000',
  },
}
SCSS
$custom: #7f00a7;
$custom-light: #aa60c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f00a7",
  "rgb": {
    "r": 127,
    "g": 0,
    "b": 167
  },
  "hsl": {
    "h": 285.629,
    "s": 100,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44837,
    "c": 0.22183,
    "h": 314.2
  },
  "luminance": 0.07302
}

Semantic roles & 50–950 ramp

primary
#7F00A7
secondary
#54D929
accent
#FF295C
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110612
muted
#807A81

Preview Lab

Preview with #7F00A7

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

Preview Lab → · Contrast checker → · Palette generator →

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