#7C2B86#7C2B86

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

Color values

HEX#7C2B86
RGBrgb(124, 43, 134)
HSLhsl(293, 51%, 35%)
HSVhsv(293, 68%, 53%)
CMYKcmyk(7.5%, 67.9%, 0%, 47.5%)
CIE-LABlab(33.42, 47.70, -34.47)
CIE-LCHlch(33.42, 58.85, 324.15°)
OKLaboklab(44.67% 0.128 -0.0959)
OKLCHoklch(44.67% 0.16 323.1)
XYZxyz(13.4787, 7.7348, 23.3326)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2B86 #35862B
analogous
#4F2B86 #7C2B86 #862B62
triadic
#7C2B86 #867C2B #2B867C
tetradic
#7C2B86 #864F2B #35862B #2B6286
square
#7C2B86 #864F2B #35862B #2B6286
split-complementary
#7C2B86 #62862B #2B864F
monochromatic
#260D29 #511C58 #7C2B86 #A73AB4 #C060CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C2B86#FFFFFF#000000##FFFFFF
##7C2B861.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)
#154989
Deuteranopia (green-blind)
#395284
Tritanopia (blue-blind)
#7E3A55
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7c2b86;
/* rgb */ color: rgb(124, 43, 134);
/* oklch */ color: oklch(44.7% 0.160 323.1);
Tailwind
colors: {
  custom: {
    50: '#a56baa',
    500: '#7c2b86',
    950: '#000000',
  },
}
SCSS
$custom: #7c2b86;
$custom-light: #a56baa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2b86",
  "rgb": {
    "r": 124,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 293.407,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44665,
    "c": 0.15997,
    "h": 323.1
  },
  "luminance": 0.07734
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C2B86

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

Preview Lab → · Contrast checker → · Palette generator →

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