#7F2175#7F2175

#7F2175 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.160 H 332.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#7F2175
RGBrgb(127, 33, 117)
HSLhsl(306, 59%, 31%)
HSVhsv(306, 74%, 50%)
CMYKcmyk(0%, 74%, 7.9%, 50.2%)
CIE-LABlab(31.54, 49.39, -26.76)
CIE-LCHlch(31.54, 56.17, 331.55°)
OKLaboklab(43.1% 0.1422 -0.0735)
OKLCHoklch(43.1% 0.16 332.7)
XYZxyz(12.5072, 6.8851, 17.4964)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2175 #217F2B
analogous
#5A217F #7F2175 #7F2146
triadic
#7F2175 #757F21 #21757F
tetradic
#7F2175 #7F5A21 #217F2B #21467F
square
#7F2175 #7F5A21 #217F2B #21467F
split-complementary
#7F2175 #467F21 #217F5A
monochromatic
#1E081B #4E1448 #7F2175 #B02EA2 #D04AC2

Accessibility & contrast

On white

8.84
#7F2175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7F2175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2175
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2175#FFFFFF#000000##FFFFFF
##7F21751.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4277
Deuteranopia (green-blind)
#404F73
Tritanopia (blue-blind)
#852B48
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f2175;
/* rgb */ color: rgb(127, 33, 117);
/* oklch */ color: oklch(43.1% 0.160 332.7);
Tailwind
colors: {
  custom: {
    50: '#a7669d',
    500: '#7f2175',
    950: '#000000',
  },
}
SCSS
$custom: #7f2175;
$custom-light: #a7669d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2175",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 306.383,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43096,
    "c": 0.16004,
    "h": 332.7
  },
  "luminance": 0.06884
}

Semantic roles & 50–950 ramp

primary
#7F2175
secondary
#4AB255
accent
#E25646
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F2175

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

Preview Lab → · Contrast checker → · Palette generator →

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