#7B1885#7B1885

#7B1885 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.180 H 323.9°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#7B1885
RGBrgb(123, 24, 133)
HSLhsl(294, 69%, 31%)
HSVhsv(294, 82%, 52%)
CMYKcmyk(7.5%, 82%, 0%, 47.8%)
CIE-LABlab(30.78, 54.17, -38.08)
CIE-LCHlch(30.78, 66.21, 324.90°)
OKLaboklab(42.72% 0.1456 -0.1064)
OKLCHoklch(42.72% 0.18 323.9)
XYZxyz(12.7283, 6.5585, 22.7813)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1885 #228518
analogous
#441885 #7B1885 #851858
triadic
#7B1885 #857B18 #18857B
tetradic
#7B1885 #854418 #228518 #185885
square
#7B1885 #854418 #228518 #185885
split-complementary
#7B1885 #588518 #188544
monochromatic
#1B051D #4B0F51 #7B1885 #AB21B9 #CD3CDC

Accessibility & contrast

On white

9.08
#7B1885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7B1885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1885
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1885#FFFFFF#000000##FFFFFF
##7B18851.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#2E4C83
Tritanopia (blue-blind)
#7D2E4F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7b1885;
/* rgb */ color: rgb(123, 24, 133);
/* oklch */ color: oklch(42.7% 0.180 323.9);
Tailwind
colors: {
  custom: {
    50: '#a563a9',
    500: '#7b1885',
    950: '#000000',
  },
}
SCSS
$custom: #7b1885;
$custom-light: #a563a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1885",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 294.495,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42724,
    "c": 0.18035,
    "h": 323.9
  },
  "luminance": 0.06558
}

Semantic roles & 50–950 ramp

primary
#7B1885
secondary
#4BB940
accent
#EC3C4C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1885

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

Preview Lab → · Contrast checker → · Palette generator →

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