#7F107B#7F107B

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

Color values

HEX#7F107B
RGBrgb(127, 16, 123)
HSLhsl(302, 78%, 28%)
HSVhsv(302, 87%, 50%)
CMYKcmyk(0%, 87.4%, 3.1%, 50.2%)
CIE-LABlab(30.19, 55.26, -32.70)
CIE-LCHlch(30.19, 64.21, 329.39°)
OKLaboklab(42.24% 0.1564 -0.0905)
OKLCHoklch(42.24% 0.181 329.9)
XYZxyz(12.5128, 6.3137, 19.2947)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F107B #107F14
analogous
#4B107F #7F107B #7F1043
triadic
#7F107B #7B7F10 #107B7F
tetradic
#7F107B #7F4B10 #107F14 #10437F
square
#7F107B #7F4B10 #107F14 #10437F
split-complementary
#7F107B #437F10 #107F4B
monochromatic
#1B031A #490946 #7F107B #B517B0 #E426DD

Accessibility & contrast

On white

9.28
#7F107B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7F107B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F107B
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F107B#FFFFFF#000000##FFFFFF
##7F107B1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#364C79
Tritanopia (blue-blind)
#842448
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f107b;
/* rgb */ color: rgb(127, 16, 123);
/* oklch */ color: oklch(42.2% 0.181 329.9);
Tailwind
colors: {
  custom: {
    50: '#a861a1',
    500: '#7f107b',
    950: '#000000',
  },
}
SCSS
$custom: #7f107b;
$custom-light: #a861a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f107b",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 123
  },
  "hsl": {
    "h": 302.162,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.42241,
    "c": 0.18072,
    "h": 329.9
  },
  "luminance": 0.06313
}

Semantic roles & 50–950 ramp

primary
#7F107B
secondary
#36B53A
accent
#F43B34
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7F107B

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

Preview Lab → · Contrast checker → · Palette generator →

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