#7B2875#7B2875

#7B2875 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.148 H 330.8°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#7B2875
RGBrgb(123, 40, 117)
HSLhsl(304, 51%, 32%)
HSVhsv(304, 67%, 48%)
CMYKcmyk(0%, 67.5%, 4.9%, 51.8%)
CIE-LABlab(31.84, 45.59, -26.34)
CIE-LCHlch(31.84, 52.66, 329.98°)
OKLaboklab(43.18% 0.1296 -0.0724)
OKLCHoklch(43.18% 0.149 330.8)
XYZxyz(12.1380, 7.0138, 17.5407)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2875 #287B2E
analogous
#58287B #7B2875 #7B284C
triadic
#7B2875 #757B28 #28757B
tetradic
#7B2875 #7B5828 #287B2E #284C7B
square
#7B2875 #7B5828 #287B2E #284C7B
split-complementary
#7B2875 #4C7B28 #287B58
monochromatic
#1F0A1D #4D1949 #7B2875 #A937A1 #C856C0

Accessibility & contrast

On white

8.74
#7B2875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7B2875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2875
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2875#FFFFFF#000000##FFFFFF
##7B28751.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224477
Deuteranopia (green-blind)
#3F4F73
Tritanopia (blue-blind)
#80314B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b2875;
/* rgb */ color: rgb(123, 40, 117);
/* oklch */ color: oklch(43.2% 0.148 330.8);
Tailwind
colors: {
  custom: {
    50: '#a4699d',
    500: '#7b2875',
    950: '#000000',
  },
}
SCSS
$custom: #7b2875;
$custom-light: #a4699d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2875",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 117
  },
  "hsl": {
    "h": 304.337,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43175,
    "c": 0.1485,
    "h": 330.8
  },
  "luminance": 0.07013
}

Semantic roles & 50–950 ramp

primary
#7B2875
secondary
#52AD59
accent
#DA584D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7B2875

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

Preview Lab → · Contrast checker → · Palette generator →

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