#7B207D#7B207D

#7B207D is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.166 H 327.1°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#7B207D
RGBrgb(123, 32, 125)
HSLhsl(299, 59%, 31%)
HSVhsv(299, 74%, 49%)
CMYKcmyk(1.6%, 74.4%, 0%, 51%)
CIE-LABlab(31.17, 50.16, -32.44)
CIE-LCHlch(31.17, 59.74, 327.11°)
OKLaboklab(42.84% 0.1389 -0.09)
OKLCHoklch(42.84% 0.166 327.1)
XYZxyz(12.3864, 6.7255, 20.0438)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B207D #227D20
analogous
#4C207D #7B207D #7D2050
triadic
#7B207D #7D7B20 #207D7B
tetradic
#7B207D #7D4C20 #227D20 #20507D
square
#7B207D #7D4C20 #227D20 #20507D
split-complementary
#7B207D #507D20 #207D4C
monochromatic
#1B071C #4B144C #7B207D #AB2CAE #CD47D0

Accessibility & contrast

On white

8.96
#7B207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7B207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B207D
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B207D#FFFFFF#000000##FFFFFF
##7B207D1.008.962.358.96
#FFFFFF8.961.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4280
Deuteranopia (green-blind)
#374D7B
Tritanopia (blue-blind)
#7F2F4D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b207d;
/* rgb */ color: rgb(123, 32, 125);
/* oklch */ color: oklch(42.8% 0.166 327.1);
Tailwind
colors: {
  custom: {
    50: '#a466a3',
    500: '#7b207d',
    950: '#000000',
  },
}
SCSS
$custom: #7b207d;
$custom-light: #a466a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b207d",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 298.71,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42843,
    "c": 0.16554,
    "h": 327.1
  },
  "luminance": 0.06725
}

Semantic roles & 50–950 ramp

primary
#7B207D
secondary
#4BB049
accent
#E24549
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B207D

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

Preview Lab → · Contrast checker → · Palette generator →

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