#7B2C86#7B2C86

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

Color values

HEX#7B2C86
RGBrgb(123, 44, 134)
HSLhsl(293, 51%, 35%)
HSVhsv(293, 67%, 53%)
CMYKcmyk(8.2%, 67.2%, 0%, 47.5%)
CIE-LABlab(33.42, 47.02, -34.48)
CIE-LCHlch(33.42, 58.30, 323.75°)
OKLaboklab(44.63% 0.1256 -0.096)
OKLCHoklch(44.63% 0.158 322.6)
XYZxyz(13.3717, 7.7343, 23.3382)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2C86 #37862C
analogous
#4E2C86 #7B2C86 #862C64
triadic
#7B2C86 #867B2C #2C867B
tetradic
#7B2C86 #864E2C #37862C #2C6486
square
#7B2C86 #864E2C #37862C #2C6486
split-complementary
#7B2C86 #64862C #2C864E
monochromatic
#260E2A #511D58 #7B2C86 #A53BB4 #BE61CB

Accessibility & contrast

On white

8.25
#7B2C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7B2C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2C86
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2C86#FFFFFF#000000##FFFFFF
##7B2C861.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164989
Deuteranopia (green-blind)
#385284
Tritanopia (blue-blind)
#7D3B55
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7b2c86;
/* rgb */ color: rgb(123, 44, 134);
/* oklch */ color: oklch(44.6% 0.158 322.6);
Tailwind
colors: {
  custom: {
    50: '#a46caa',
    500: '#7b2c86',
    950: '#000000',
  },
}
SCSS
$custom: #7b2c86;
$custom-light: #a46caa;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2c86",
  "rgb": {
    "r": 123,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 292.667,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44632,
    "c": 0.15807,
    "h": 322.6
  },
  "luminance": 0.07734
}

Semantic roles & 50–950 ramp

primary
#7B2C86
secondary
#67B15C
accent
#DA4E5F
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7B2C86

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

Preview Lab → · Contrast checker → · Palette generator →

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