#7F107C#7F107C

#7F107C is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.3% C 0.181 H 329.5°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#7F107C
RGBrgb(127, 16, 124)
HSLhsl(302, 78%, 28%)
HSVhsv(302, 87%, 50%)
CMYKcmyk(0%, 87.4%, 2.4%, 50.2%)
CIE-LABlab(30.25, 55.42, -33.23)
CIE-LCHlch(30.25, 64.62, 329.05°)
OKLaboklab(42.3% 0.1564 -0.0921)
OKLCHoklch(42.3% 0.181 329.5)
XYZxyz(12.5757, 6.3389, 19.6261)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F107C #107F13
analogous
#4B107F #7F107C #7F1044
triadic
#7F107C #7C7F10 #107C7F
tetradic
#7F107C #7F4B10 #107F13 #10447F
square
#7F107C #7F4B10 #107F13 #10447F
split-complementary
#7F107C #447F10 #107F4B
monochromatic
#1B031B #490947 #7F107C #B517B1 #E426DE

Accessibility & contrast

On white

9.26
#7F107C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7F107C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F107C
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F107C#FFFFFF#000000##FFFFFF
##7F107C1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7F
Deuteranopia (green-blind)
#364C7A
Tritanopia (blue-blind)
#842449
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f107c;
/* rgb */ color: rgb(127, 16, 124);
/* oklch */ color: oklch(42.3% 0.181 329.5);
Tailwind
colors: {
  custom: {
    50: '#a861a2',
    500: '#7f107c',
    950: '#000000',
  },
}
SCSS
$custom: #7f107c;
$custom-light: #a861a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f107c",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 124
  },
  "hsl": {
    "h": 301.622,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.42304,
    "c": 0.18146,
    "h": 329.5
  },
  "luminance": 0.06338
}

Semantic roles & 50–950 ramp

primary
#7F107C
secondary
#36B539
accent
#F43934
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7F107C

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

Preview Lab → · Contrast checker → · Palette generator →

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