#7F1075#7F1075

#7F1075 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.176 H 332.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#7F1075
RGBrgb(127, 16, 117)
HSLhsl(305, 78%, 28%)
HSVhsv(305, 87%, 50%)
CMYKcmyk(0%, 87.4%, 7.9%, 50.2%)
CIE-LABlab(29.83, 54.31, -29.46)
CIE-LCHlch(29.83, 61.79, 331.52°)
OKLaboklab(41.87% 0.1566 -0.0811)
OKLCHoklch(41.87% 0.176 332.6)
XYZxyz(12.1486, 6.1680, 17.3769)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1075 #107F1A
analogous
#51107F #7F1075 #7F103E
triadic
#7F1075 #757F10 #10757F
tetradic
#7F1075 #7F5110 #107F1A #103E7F
square
#7F1075 #7F5110 #107F1A #103E7F
split-complementary
#7F1075 #3E7F10 #107F51
monochromatic
#1B0319 #490943 #7F1075 #B517A7 #E426D3

Accessibility & contrast

On white

9.40
#7F1075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7F1075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1075
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1075#FFFFFF#000000##FFFFFF
##7F10751.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043D77
Deuteranopia (green-blind)
#3A4C73
Tritanopia (blue-blind)
#852044
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1075;
/* rgb */ color: rgb(127, 16, 117);
/* oklch */ color: oklch(41.9% 0.176 332.6);
Tailwind
colors: {
  custom: {
    50: '#a8609d',
    500: '#7f1075',
    950: '#000000',
  },
}
SCSS
$custom: #7f1075;
$custom-light: #a8609d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1075",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 117
  },
  "hsl": {
    "h": 305.405,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41872,
    "c": 0.17634,
    "h": 332.6
  },
  "luminance": 0.06167
}

Semantic roles & 50–950 ramp

primary
#7F1075
secondary
#36B541
accent
#F44534
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F1075

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

Preview Lab → · Contrast checker → · Palette generator →

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