#7B2E80#7B2E80

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

Color values

HEX#7B2E80
RGBrgb(123, 46, 128)
HSLhsl(296, 47%, 34%)
HSVhsv(296, 64%, 50%)
CMYKcmyk(3.9%, 64.1%, 0%, 49.8%)
CIE-LABlab(33.40, 44.95, -30.78)
CIE-LCHlch(33.40, 54.48, 325.59°)
OKLaboklab(44.51% 0.1229 -0.0853)
OKLCHoklch(44.51% 0.15 325.2)
XYZxyz(13.0414, 7.7242, 21.2219)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2E80 #33802E
analogous
#522E80 #7B2E80 #802E5C
triadic
#7B2E80 #807B2E #2E807B
tetradic
#7B2E80 #80522E #33802E #2E5C80
square
#7B2E80 #80522E #33802E #2E5C80
split-complementary
#7B2E80 #5C802E #2E8052
monochromatic
#240E26 #501E53 #7B2E80 #A63EAD #C062C7

Accessibility & contrast

On white

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

On black

2.54
#7B2E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7B2E80#FFFFFF#000000##FFFFFF
##7B2E801.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204882
Deuteranopia (green-blind)
#3D527E
Tritanopia (blue-blind)
#7E3A52
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7b2e80;
/* rgb */ color: rgb(123, 46, 128);
/* oklch */ color: oklch(44.5% 0.150 325.2);
Tailwind
colors: {
  custom: {
    50: '#a46ca5',
    500: '#7b2e80',
    950: '#000000',
  },
}
SCSS
$custom: #7b2e80;
$custom-light: #a46ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2e80",
  "rgb": {
    "r": 123,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 296.341,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44505,
    "c": 0.14959,
    "h": 325.2
  },
  "luminance": 0.07723
}

Semantic roles & 50–950 ramp

primary
#7B2E80
secondary
#62AD5D
accent
#D75159
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #7B2E80

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

Preview Lab → · Contrast checker → · Palette generator →

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