#7F1975#7F1975

#7F1975 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.169 H 332.6°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#7F1975
RGBrgb(127, 25, 117)
HSLhsl(306, 67%, 30%)
HSVhsv(306, 80%, 50%)
CMYKcmyk(0%, 80.3%, 7.9%, 50.2%)
CIE-LABlab(30.62, 52.02, -28.21)
CIE-LCHlch(30.62, 59.18, 331.53°)
OKLaboklab(42.44% 0.1499 -0.0776)
OKLCHoklch(42.44% 0.169 332.6)
XYZxyz(12.3110, 6.4927, 17.4310)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1975 #197F23
analogous
#56197F #7F1975 #7F1942
triadic
#7F1975 #757F19 #19757F
tetradic
#7F1975 #7F5619 #197F23 #19427F
square
#7F1975 #7F5619 #197F23 #19427F
split-complementary
#7F1975 #427F19 #197F56
monochromatic
#1A0518 #4C0F46 #7F1975 #B223A4 #D83AC9

Accessibility & contrast

On white

9.14
#7F1975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7F1975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1975
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1975#FFFFFF#000000##FFFFFF
##7F19751.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123F77
Deuteranopia (green-blind)
#3C4D73
Tritanopia (blue-blind)
#852546
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f1975;
/* rgb */ color: rgb(127, 25, 117);
/* oklch */ color: oklch(42.4% 0.169 332.6);
Tailwind
colors: {
  custom: {
    50: '#a8639d',
    500: '#7f1975',
    950: '#000000',
  },
}
SCSS
$custom: #7f1975;
$custom-light: #a8639d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1975",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 305.882,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42435,
    "c": 0.16875,
    "h": 332.6
  },
  "luminance": 0.06492
}

Semantic roles & 50–950 ramp

primary
#7F1975
secondary
#41B34C
accent
#EA4F3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F1975

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

Preview Lab → · Contrast checker → · Palette generator →

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