#7C2175#7C2175

#7C2175 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.6% C 0.158 H 331.3°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#7C2175
RGBrgb(124, 33, 117)
HSLhsl(305, 58%, 31%)
HSVhsv(305, 73%, 49%)
CMYKcmyk(0%, 73.4%, 5.6%, 51.4%)
CIE-LABlab(31.02, 48.64, -27.63)
CIE-LCHlch(31.02, 55.94, 330.40°)
OKLaboklab(42.61% 0.1389 -0.076)
OKLCHoklch(42.61% 0.158 331.3)
XYZxyz(12.0669, 6.6581, 17.4758)
Luminance0.0666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2175 #217C28
analogous
#55217C #7C2175 #7C2147
triadic
#7C2175 #757C21 #21757C
tetradic
#7C2175 #7C5521 #217C28 #21477C
square
#7C2175 #7C5521 #217C28 #21477C
split-complementary
#7C2175 #477C21 #217C55
monochromatic
#1B071A #4C1447 #7C2175 #AC2EA3 #CF49C4

Accessibility & contrast

On white

9.01
#7C2175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7C2175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2175
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2175#FFFFFF#000000##FFFFFF
##7C21751.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4177
Deuteranopia (green-blind)
#3D4D73
Tritanopia (blue-blind)
#812B48
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7c2175;
/* rgb */ color: rgb(124, 33, 117);
/* oklch */ color: oklch(42.6% 0.158 331.3);
Tailwind
colors: {
  custom: {
    50: '#a5669d',
    500: '#7c2175',
    950: '#000000',
  },
}
SCSS
$custom: #7c2175;
$custom-light: #a5669d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2175",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 304.615,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42614,
    "c": 0.15831,
    "h": 331.3
  },
  "luminance": 0.06657
}

Semantic roles & 50–950 ramp

primary
#7C2175
secondary
#4AAF52
accent
#E15347
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C2175

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

Preview Lab → · Contrast checker → · Palette generator →

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