#7B2E85#7B2E85

#7B2E85 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.8% C 0.154 H 322.9°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#7B2E85
RGBrgb(123, 46, 133)
HSLhsl(293, 49%, 35%)
HSVhsv(293, 65%, 52%)
CMYKcmyk(7.5%, 65.4%, 0%, 47.8%)
CIE-LABlab(33.69, 45.92, -33.44)
CIE-LCHlch(33.69, 56.81, 323.94°)
OKLaboklab(44.8% 0.1231 -0.093)
OKLCHoklch(44.8% 0.154 322.9)
XYZxyz(13.3786, 7.8591, 22.9980)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2E85 #38852E
analogous
#4F2E85 #7B2E85 #852E64
triadic
#7B2E85 #857B2E #2E857B
tetradic
#7B2E85 #854F2E #38852E #2E6485
square
#7B2E85 #854F2E #38852E #2E6485
split-complementary
#7B2E85 #64852E #2E854F
monochromatic
#270F2A #511E58 #7B2E85 #A53EB2 #BE64C9

Accessibility & contrast

On white

8.17
#7B2E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7B2E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2E85
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2E85#FFFFFF#000000##FFFFFF
##7B2E851.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4988
Deuteranopia (green-blind)
#3A5283
Tritanopia (blue-blind)
#7D3C55
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7b2e85;
/* rgb */ color: rgb(123, 46, 133);
/* oklch */ color: oklch(44.8% 0.154 322.9);
Tailwind
colors: {
  custom: {
    50: '#a46da9',
    500: '#7b2e85',
    950: '#000000',
  },
}
SCSS
$custom: #7b2e85;
$custom-light: #a46da9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2e85",
  "rgb": {
    "r": 123,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 293.103,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44804,
    "c": 0.15429,
    "h": 322.9
  },
  "luminance": 0.07858
}

Semantic roles & 50–950 ramp

primary
#7B2E85
secondary
#68B05F
accent
#D8505F
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7B2E85

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

Preview Lab → · Contrast checker → · Palette generator →

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