#7B1D85#7B1D85

#7B1D85 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.176 H 323.7°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#7B1D85
RGBrgb(123, 29, 133)
HSLhsl(294, 64%, 32%)
HSVhsv(294, 78%, 52%)
CMYKcmyk(7.5%, 78.2%, 0%, 47.8%)
CIE-LABlab(31.31, 52.64, -37.23)
CIE-LCHlch(31.31, 64.47, 324.73°)
OKLaboklab(43.1% 0.1415 -0.1039)
OKLCHoklch(43.1% 0.176 323.7)
XYZxyz(12.8410, 6.7839, 22.8188)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D85 #27851D
analogous
#471D85 #7B1D85 #851D5B
triadic
#7B1D85 #857B1D #1D857B
tetradic
#7B1D85 #85471D #27851D #1D5B85
square
#7B1D85 #85471D #27851D #1D5B85
split-complementary
#7B1D85 #5B851D #1D8547
monochromatic
#1E0721 #4D1253 #7B1D85 #A928B7 #C946D7

Accessibility & contrast

On white

8.91
#7B1D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7B1D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1D85
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1D85#FFFFFF#000000##FFFFFF
##7B1D851.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#304D83
Tritanopia (blue-blind)
#7D3150
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b1d85;
/* rgb */ color: rgb(123, 29, 133);
/* oklch */ color: oklch(43.1% 0.176 323.7);
Tailwind
colors: {
  custom: {
    50: '#a565a9',
    500: '#7b1d85',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d85;
$custom-light: #a565a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d85",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 294.231,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43099,
    "c": 0.17553,
    "h": 323.7
  },
  "luminance": 0.06783
}

Semantic roles & 50–950 ramp

primary
#7B1D85
secondary
#51B846
accent
#E74151
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1D85

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

Preview Lab → · Contrast checker → · Palette generator →

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