#7B207E#7B207E

#7B207E is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.166 H 326.6°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#7B207E
RGBrgb(123, 32, 126)
HSLhsl(298, 59%, 31%)
HSVhsv(298, 75%, 49%)
CMYKcmyk(2.4%, 74.6%, 0%, 50.6%)
CIE-LABlab(31.23, 50.34, -32.97)
CIE-LCHlch(31.23, 60.18, 326.78°)
OKLaboklab(42.91% 0.1389 -0.0915)
OKLCHoklch(42.91% 0.166 326.6)
XYZxyz(12.4506, 6.7512, 20.3820)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B207E #237E20
analogous
#4C207E #7B207E #7E2052
triadic
#7B207E #7E7B20 #207E7B
tetradic
#7B207E #7E4C20 #237E20 #20527E
square
#7B207E #7E4C20 #237E20 #20527E
split-complementary
#7B207E #527E20 #207E4C
monochromatic
#1C071C #4B144D #7B207E #AB2CAF #CC48D0

Accessibility & contrast

On white

8.94
#7B207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B207E
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B207E#FFFFFF#000000##FFFFFF
##7B207E1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094281
Deuteranopia (green-blind)
#374D7C
Tritanopia (blue-blind)
#7E2F4D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b207e;
/* rgb */ color: rgb(123, 32, 126);
/* oklch */ color: oklch(42.9% 0.166 326.6);
Tailwind
colors: {
  custom: {
    50: '#a466a4',
    500: '#7b207e',
    950: '#000000',
  },
}
SCSS
$custom: #7b207e;
$custom-light: #a466a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b207e",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 298.085,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42905,
    "c": 0.16638,
    "h": 326.6
  },
  "luminance": 0.0675
}

Semantic roles & 50–950 ramp

primary
#7B207E
secondary
#4CB149
accent
#E3454A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B207E

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

Preview Lab → · Contrast checker → · Palette generator →

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