#7B1B85#7B1B85

#7B1B85 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.178 H 323.8°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#7B1B85
RGBrgb(123, 27, 133)
HSLhsl(294, 66%, 31%)
HSVhsv(294, 80%, 52%)
CMYKcmyk(7.5%, 79.7%, 0%, 47.8%)
CIE-LABlab(31.09, 53.28, -37.58)
CIE-LCHlch(31.09, 65.20, 324.80°)
OKLaboklab(42.94% 0.1432 -0.105)
OKLCHoklch(42.94% 0.178 323.8)
XYZxyz(12.7936, 6.6891, 22.8030)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1B85 #25851B
analogous
#461B85 #7B1B85 #851B5A
triadic
#7B1B85 #857B1B #1B857B
tetradic
#7B1B85 #85461B #25851B #1B5A85
square
#7B1B85 #85461B #25851B #1B5A85
split-complementary
#7B1B85 #5A851B #1B8546
monochromatic
#1D061F #4C1152 #7B1B85 #AA25B8 #CA42D9

Accessibility & contrast

On white

8.98
#7B1B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7B1B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1B85
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1B85#FFFFFF#000000##FFFFFF
##7B1B851.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#2F4D83
Tritanopia (blue-blind)
#7D3050
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b1b85;
/* rgb */ color: rgb(123, 27, 133);
/* oklch */ color: oklch(42.9% 0.178 323.8);
Tailwind
colors: {
  custom: {
    50: '#a564a9',
    500: '#7b1b85',
    950: '#000000',
  },
}
SCSS
$custom: #7b1b85;
$custom-light: #a564a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1b85",
  "rgb": {
    "r": 123,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 294.34,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42942,
    "c": 0.17755,
    "h": 323.8
  },
  "luminance": 0.06688
}

Semantic roles & 50–950 ramp

primary
#7B1B85
secondary
#4FB844
accent
#E93F4F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1B85

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

Preview Lab → · Contrast checker → · Palette generator →

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