#7B1875#7B1875

#7B1875 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.168 H 330.9°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#7B1875
RGBrgb(123, 24, 117)
HSLhsl(304, 67%, 29%)
HSVhsv(304, 80%, 48%)
CMYKcmyk(0%, 80.5%, 4.9%, 51.8%)
CIE-LABlab(29.79, 51.41, -29.58)
CIE-LCHlch(29.79, 59.31, 330.08°)
OKLaboklab(41.7% 0.1464 -0.0816)
OKLCHoklch(41.7% 0.168 330.9)
XYZxyz(11.7059, 6.1495, 17.3966)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1875 #187B1E
analogous
#50187B #7B1875 #7B1844
triadic
#7B1875 #757B18 #18757B
tetradic
#7B1875 #7B5018 #187B1E #18447B
square
#7B1875 #7B5018 #187B1E #18447B
split-complementary
#7B1875 #447B18 #187B50
monochromatic
#1A0518 #480E44 #7B1875 #AE22A6 #D836CE

Accessibility & contrast

On white

9.42
#7B1875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7B1875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1875
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1875#FFFFFF#000000##FFFFFF
##7B18751.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3E77
Deuteranopia (green-blind)
#384B73
Tritanopia (blue-blind)
#802646
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b1875;
/* rgb */ color: rgb(123, 24, 117);
/* oklch */ color: oklch(41.7% 0.168 330.9);
Tailwind
colors: {
  custom: {
    50: '#a5629d',
    500: '#7b1875',
    950: '#000000',
  },
}
SCSS
$custom: #7b1875;
$custom-light: #a5629d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1875",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 303.636,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41699,
    "c": 0.16765,
    "h": 330.9
  },
  "luminance": 0.06149
}

Semantic roles & 50–950 ramp

primary
#7B1875
secondary
#3FB046
accent
#EA483E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1875

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

Preview Lab → · Contrast checker → · Palette generator →

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