#7B2986#7B2986

#7B2986 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.162 H 322.8°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#7B2986
RGBrgb(123, 41, 134)
HSLhsl(293, 53%, 34%)
HSVhsv(293, 69%, 53%)
CMYKcmyk(8.2%, 69.4%, 0%, 47.5%)
CIE-LABlab(32.96, 48.31, -35.22)
CIE-LCHlch(32.96, 59.79, 323.91°)
OKLaboklab(44.3% 0.1291 -0.0981)
OKLCHoklch(44.3% 0.162 322.8)
XYZxyz(13.2640, 7.5188, 23.3023)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2986 #348629
analogous
#4D2986 #7B2986 #862963
triadic
#7B2986 #867B29 #29867B
tetradic
#7B2986 #864D29 #348629 #296386
square
#7B2986 #864D29 #348629 #296386
split-complementary
#7B2986 #638629 #29864D
monochromatic
#250C28 #501B57 #7B2986 #A637B5 #C05CCD

Accessibility & contrast

On white

8.39
#7B2986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7B2986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2986
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2986#FFFFFF#000000##FFFFFF
##7B29861.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4789
Deuteranopia (green-blind)
#365184
Tritanopia (blue-blind)
#7D3954
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b2986;
/* rgb */ color: rgb(123, 41, 134);
/* oklch */ color: oklch(44.3% 0.162 322.8);
Tailwind
colors: {
  custom: {
    50: '#a46aaa',
    500: '#7b2986',
    950: '#000000',
  },
}
SCSS
$custom: #7b2986;
$custom-light: #a46aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2986",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 292.903,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44299,
    "c": 0.16217,
    "h": 322.8
  },
  "luminance": 0.07518
}

Semantic roles & 50–950 ramp

primary
#7B2986
secondary
#63B358
accent
#DD4B5C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7B2986

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

Preview Lab → · Contrast checker → · Palette generator →

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