#7B206F#7B206F

#7B206F is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.154 H 333.8°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#7B206F
RGBrgb(123, 32, 111)
HSLhsl(308, 59%, 30%)
HSVhsv(308, 74%, 48%)
CMYKcmyk(0%, 74%, 9.8%, 51.8%)
CIE-LABlab(30.38, 47.76, -24.82)
CIE-LCHlch(30.38, 53.83, 332.54°)
OKLaboklab(42.02% 0.1384 -0.068)
OKLCHoklch(42.02% 0.154 333.8)
XYZxyz(11.5542, 6.3927, 15.6612)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B206F #207B2C
analogous
#59207B #7B206F #7B2041
triadic
#7B206F #6F7B20 #206F7B
tetradic
#7B206F #7B5920 #207B2C #20417B
square
#7B206F #7B5920 #207B2C #20417B
split-complementary
#7B206F #417B20 #207B59
monochromatic
#1A0717 #4A1343 #7B206F #AC2D9B #CF46BD

Accessibility & contrast

On white

9.22
#7B206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7B206F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B206F
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B206F#FFFFFF#000000##FFFFFF
##7B206F1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3F71
Deuteranopia (green-blind)
#3F4C6D
Tritanopia (blue-blind)
#812845
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7b206f;
/* rgb */ color: rgb(123, 32, 111);
/* oklch */ color: oklch(42.0% 0.154 333.8);
Tailwind
colors: {
  custom: {
    50: '#a46598',
    500: '#7b206f',
    950: '#000000',
  },
}
SCSS
$custom: #7b206f;
$custom-light: #a46598;
$custom-dark: #000000;
JSON
{
  "hex": "#7b206f",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 307.912,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42018,
    "c": 0.15419,
    "h": 333.8
  },
  "luminance": 0.06392
}

Semantic roles & 50–950 ramp

primary
#7B206F
secondary
#49AE56
accent
#E25A46
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B206F

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

Preview Lab → · Contrast checker → · Palette generator →

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