#7B1175#7B1175

#7B1175 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.174 H 330.9°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#7B1175
RGBrgb(123, 17, 117)
HSLhsl(303, 76%, 27%)
HSVhsv(303, 86%, 48%)
CMYKcmyk(0%, 86.2%, 4.9%, 51.8%)
CIE-LABlab(29.15, 53.25, -30.59)
CIE-LCHlch(29.15, 61.41, 330.12°)
OKLaboklab(41.25% 0.1517 -0.0845)
OKLCHoklch(41.25% 0.174 330.9)
XYZxyz(11.5797, 5.8972, 17.3546)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1175 #117B17
analogous
#4C117B #7B1175 #7B1140
triadic
#7B1175 #757B11 #11757B
tetradic
#7B1175 #7B4C11 #117B17 #11407B
square
#7B1175 #7B4C11 #117B17 #11407B
split-complementary
#7B1175 #407B11 #117B4C
monochromatic
#1B041A #450A42 #7B1175 #B118A8 #E125D6

Accessibility & contrast

On white

9.64
#7B1175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7B1175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1175
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1175#FFFFFF#000000##FFFFFF
##7B11751.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C77
Deuteranopia (green-blind)
#364A73
Tritanopia (blue-blind)
#802245
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b1175;
/* rgb */ color: rgb(123, 17, 117);
/* oklch */ color: oklch(41.2% 0.174 330.9);
Tailwind
colors: {
  custom: {
    50: '#a5609d',
    500: '#7b1175',
    950: '#000000',
  },
}
SCSS
$custom: #7b1175;
$custom-light: #a5609d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1175",
  "rgb": {
    "r": 123,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 303.396,
    "s": 75.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.41247,
    "c": 0.17369,
    "h": 330.9
  },
  "luminance": 0.05896
}

Semantic roles & 50–950 ramp

primary
#7B1175
secondary
#36B13D
accent
#F24035
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7B1175

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

Preview Lab → · Contrast checker → · Palette generator →

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