#7B2B86#7B2B86

#7B2B86 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.5% C 0.159 H 322.6°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7B2B86
RGBrgb(123, 43, 134)
HSLhsl(293, 51%, 35%)
HSVhsv(293, 68%, 53%)
CMYKcmyk(8.2%, 67.9%, 0%, 47.5%)
CIE-LABlab(33.27, 47.46, -34.73)
CIE-LCHlch(33.27, 58.81, 323.80°)
OKLaboklab(44.52% 0.1268 -0.0967)
OKLCHoklch(44.52% 0.159 322.6)
XYZxyz(13.3349, 7.6607, 23.3259)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2B86 #36862B
analogous
#4D2B86 #7B2B86 #862B64
triadic
#7B2B86 #867B2B #2B867B
tetradic
#7B2B86 #864D2B #36862B #2B6486
square
#7B2B86 #864D2B #36862B #2B6486
split-complementary
#7B2B86 #64862B #2B864D
monochromatic
#260D29 #501C58 #7B2B86 #A63AB4 #BF60CC

Accessibility & contrast

On white

8.29
#7B2B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7B2B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2B86
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2B86#FFFFFF#000000##FFFFFF
##7B2B861.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134889
Deuteranopia (green-blind)
#385184
Tritanopia (blue-blind)
#7D3A55
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7b2b86;
/* rgb */ color: rgb(123, 43, 134);
/* oklch */ color: oklch(44.5% 0.159 322.6);
Tailwind
colors: {
  custom: {
    50: '#a46baa',
    500: '#7b2b86',
    950: '#000000',
  },
}
SCSS
$custom: #7b2b86;
$custom-light: #a46baa;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2b86",
  "rgb": {
    "r": 123,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 292.747,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44519,
    "c": 0.15947,
    "h": 322.6
  },
  "luminance": 0.0766
}

Semantic roles & 50–950 ramp

primary
#7B2B86
secondary
#65B25B
accent
#DB4D5E
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7B2B86

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

Preview Lab → · Contrast checker → · Palette generator →

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