#7B207C#7B207C

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

Color values

HEX#7B207C
RGBrgb(123, 32, 124)
HSLhsl(299, 59%, 31%)
HSVhsv(299, 74%, 49%)
CMYKcmyk(0.8%, 74.2%, 0%, 51.4%)
CIE-LABlab(31.11, 49.98, -31.90)
CIE-LCHlch(31.11, 59.30, 327.45°)
OKLaboklab(42.78% 0.1389 -0.0884)
OKLCHoklch(42.78% 0.165 327.5)
XYZxyz(12.3228, 6.7001, 19.7091)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B207C #217C20
analogous
#4D207C #7B207C #7C204F
triadic
#7B207C #7C7B20 #207C7B
tetradic
#7B207C #7C4D20 #217C20 #204F7C
square
#7B207C #7C4D20 #217C20 #204F7C
split-complementary
#7B207C #4F7C20 #207C4D
monochromatic
#1A071B #4B134B #7B207C #AB2DAD #CE47CF

Accessibility & contrast

On white

8.98
#7B207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7B207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B207C
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B207C#FFFFFF#000000##FFFFFF
##7B207C1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D427F
Deuteranopia (green-blind)
#384D7A
Tritanopia (blue-blind)
#7F2E4C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b207c;
/* rgb */ color: rgb(123, 32, 124);
/* oklch */ color: oklch(42.8% 0.165 327.5);
Tailwind
colors: {
  custom: {
    50: '#a465a2',
    500: '#7b207c',
    950: '#000000',
  },
}
SCSS
$custom: #7b207c;
$custom-light: #a465a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b207c",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 299.348,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42781,
    "c": 0.1647,
    "h": 327.5
  },
  "luminance": 0.06699
}

Semantic roles & 50–950 ramp

primary
#7B207C
secondary
#4AAF49
accent
#E24647
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B207C

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

Preview Lab → · Contrast checker → · Palette generator →

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