#7B207F#7B207F

#7B207F is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.167 H 326.2°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7B207F
RGBrgb(123, 32, 127)
HSLhsl(297, 60%, 31%)
HSVhsv(297, 75%, 50%)
CMYKcmyk(3.1%, 74.8%, 0%, 50.2%)
CIE-LABlab(31.29, 50.52, -33.50)
CIE-LCHlch(31.29, 60.62, 326.45°)
OKLaboklab(42.97% 0.1389 -0.0931)
OKLCHoklch(42.97% 0.167 326.2)
XYZxyz(12.5154, 6.7771, 20.7235)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B207F #247F20
analogous
#4B207F #7B207F #7F2053
triadic
#7B207F #7F7B20 #207F7B
tetradic
#7B207F #7F4B20 #247F20 #20537F
square
#7B207F #7F4B20 #247F20 #20537F
split-complementary
#7B207F #537F20 #207F4B
monochromatic
#1C071D #4C144E #7B207F #AA2CB0 #CB48D1

Accessibility & contrast

On white

8.92
#7B207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7B207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B207F
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B207F#FFFFFF#000000##FFFFFF
##7B207F1.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064282
Deuteranopia (green-blind)
#364E7D
Tritanopia (blue-blind)
#7E304E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b207f;
/* rgb */ color: rgb(123, 32, 127);
/* oklch */ color: oklch(43.0% 0.167 326.2);
Tailwind
colors: {
  custom: {
    50: '#a466a4',
    500: '#7b207f',
    950: '#000000',
  },
}
SCSS
$custom: #7b207f;
$custom-light: #a466a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b207f",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 297.474,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42968,
    "c": 0.16722,
    "h": 326.2
  },
  "luminance": 0.06776
}

Semantic roles & 50–950 ramp

primary
#7B207F
secondary
#4DB249
accent
#E3454C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B207F

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

Preview Lab → · Contrast checker → · Palette generator →

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