#7B2D85#7B2D85

#7B2D85 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.7% C 0.156 H 323.0°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7B2D85
RGBrgb(123, 45, 133)
HSLhsl(293, 49%, 35%)
HSVhsv(293, 66%, 52%)
CMYKcmyk(7.5%, 66.2%, 0%, 47.8%)
CIE-LABlab(33.52, 46.37, -33.70)
CIE-LCHlch(33.52, 57.33, 324.00°)
OKLaboklab(44.69% 0.1243 -0.0938)
OKLCHoklch(44.69% 0.156 323)
XYZxyz(13.3400, 7.7819, 22.9852)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2D85 #37852D
analogous
#4F2D85 #7B2D85 #852D63
triadic
#7B2D85 #857B2D #2D857B
tetradic
#7B2D85 #854F2D #37852D #2D6385
square
#7B2D85 #854F2D #37852D #2D6385
split-complementary
#7B2D85 #63852D #2D854F
monochromatic
#260E2A #511E57 #7B2D85 #A53CB3 #BE62CA

Accessibility & contrast

On white

8.22
#7B2D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7B2D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2D85
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2D85#FFFFFF#000000##FFFFFF
##7B2D851.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194988
Deuteranopia (green-blind)
#3A5283
Tritanopia (blue-blind)
#7D3B55
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7b2d85;
/* rgb */ color: rgb(123, 45, 133);
/* oklch */ color: oklch(44.7% 0.156 323.0);
Tailwind
colors: {
  custom: {
    50: '#a46ca9',
    500: '#7b2d85',
    950: '#000000',
  },
}
SCSS
$custom: #7b2d85;
$custom-light: #a46ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2d85",
  "rgb": {
    "r": 123,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 293.182,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44686,
    "c": 0.15573,
    "h": 323
  },
  "luminance": 0.07781
}

Semantic roles & 50–950 ramp

primary
#7B2D85
secondary
#67B05D
accent
#D94F5F
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7B2D85

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

Preview Lab → · Contrast checker → · Palette generator →

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