#7B2D7B#7B2D7B

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

Color values

HEX#7B2D7B
RGBrgb(123, 45, 123)
HSLhsl(300, 46%, 33%)
HSVhsv(300, 63%, 48%)
CMYKcmyk(0%, 63.4%, 0%, 51.8%)
CIE-LABlab(32.96, 44.46, -28.36)
CIE-LCHlch(32.96, 52.74, 327.47°)
OKLaboklab(44.09% 0.1238 -0.0783)
OKLCHoklch(44.09% 0.147 327.7)
XYZxyz(12.6817, 7.5186, 19.5183)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2D7B #2D7B2D
analogous
#542D7B #7B2D7B #7B2D54
triadic
#7B2D7B #7B7B2D #2D7B7B
tetradic
#7B2D7B #7B542D #2D7B2D #2D547B
square
#7B2D7B #7B542D #2D7B2D #2D547B
split-complementary
#7B2D7B #547B2D #2D7B54
monochromatic
#210C21 #4E1D4E #7B2D7B #A83DA8 #C45EC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B2D7B#FFFFFF#000000##FFFFFF
##7B2D7B1.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)
#23477D
Deuteranopia (green-blind)
#3F5179
Tritanopia (blue-blind)
#7F3750
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b2d7b;
/* rgb */ color: rgb(123, 45, 123);
/* oklch */ color: oklch(44.1% 0.146 327.7);
Tailwind
colors: {
  custom: {
    50: '#a46ca1',
    500: '#7b2d7b',
    950: '#000000',
  },
}
SCSS
$custom: #7b2d7b;
$custom-light: #a46ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2d7b",
  "rgb": {
    "r": 123,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 300,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44094,
    "c": 0.1465,
    "h": 327.7
  },
  "luminance": 0.07518
}

Semantic roles & 50–950 ramp

primary
#7B2D7B
secondary
#59AB59
accent
#D65252
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #7B2D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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