#7B2175#7B2175

#7B2175 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.158 H 330.8°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#7B2175
RGBrgb(123, 33, 117)
HSLhsl(304, 58%, 31%)
HSVhsv(304, 73%, 48%)
CMYKcmyk(0%, 73.2%, 4.9%, 51.8%)
CIE-LABlab(30.84, 48.40, -27.92)
CIE-LCHlch(30.84, 55.87, 330.02°)
OKLaboklab(42.45% 0.1377 -0.0769)
OKLCHoklch(42.45% 0.158 330.8)
XYZxyz(11.9231, 6.5839, 17.4690)
Luminance0.0658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2175 #217B27
analogous
#54217B #7B2175 #7B2148
triadic
#7B2175 #757B21 #21757B
tetradic
#7B2175 #7B5421 #217B27 #21487B
square
#7B2175 #7B5421 #217B27 #21487B
split-complementary
#7B2175 #487B21 #217B54
monochromatic
#1A0719 #4B1447 #7B2175 #AB2EA3 #CE48C5

Accessibility & contrast

On white

9.07
#7B2175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7B2175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2175
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2175#FFFFFF#000000##FFFFFF
##7B21751.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194177
Deuteranopia (green-blind)
#3C4D73
Tritanopia (blue-blind)
#802C48
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b2175;
/* rgb */ color: rgb(123, 33, 117);
/* oklch */ color: oklch(42.5% 0.158 330.8);
Tailwind
colors: {
  custom: {
    50: '#a4669d',
    500: '#7b2175',
    950: '#000000',
  },
}
SCSS
$custom: #7b2175;
$custom-light: #a4669d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2175",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 304,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42454,
    "c": 0.15774,
    "h": 330.8
  },
  "luminance": 0.06583
}

Semantic roles & 50–950 ramp

primary
#7B2175
secondary
#4AAE51
accent
#E15147
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B2175

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

Preview Lab → · Contrast checker → · Palette generator →

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