#7A2175#7A2175

#7A2175 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.157 H 330.4°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#7A2175
RGBrgb(122, 33, 117)
HSLhsl(303, 57%, 30%)
HSVhsv(303, 73%, 48%)
CMYKcmyk(0%, 73%, 4.1%, 52.2%)
CIE-LABlab(30.67, 48.15, -28.20)
CIE-LCHlch(30.67, 55.80, 329.64°)
OKLaboklab(42.3% 0.1366 -0.0777)
OKLCHoklch(42.3% 0.157 330.4)
XYZxyz(11.7807, 6.5105, 17.4624)
Luminance0.0651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2175 #217A26
analogous
#52217A #7A2175 #7A2148
triadic
#7A2175 #757A21 #21757A
tetradic
#7A2175 #7A5221 #217A26 #21487A
square
#7A2175 #7A5221 #217A26 #21487A
split-complementary
#7A2175 #487A21 #217A52
monochromatic
#1A0719 #4A1447 #7A2175 #AA2EA3 #CD48C6

Accessibility & contrast

On white

9.12
#7A2175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2175
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2175#FFFFFF#000000##FFFFFF
##7A21751.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184077
Deuteranopia (green-blind)
#3B4C73
Tritanopia (blue-blind)
#7F2C48
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a2175;
/* rgb */ color: rgb(122, 33, 117);
/* oklch */ color: oklch(42.3% 0.157 330.4);
Tailwind
colors: {
  custom: {
    50: '#a3659d',
    500: '#7a2175',
    950: '#000000',
  },
}
SCSS
$custom: #7a2175;
$custom-light: #a3659d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2175",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 303.371,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42295,
    "c": 0.15718,
    "h": 330.4
  },
  "luminance": 0.0651
}

Semantic roles & 50–950 ramp

primary
#7A2175
secondary
#4AAD4F
accent
#E15047
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A2175

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

Preview Lab → · Contrast checker → · Palette generator →

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