#7C209D#7C209D

#7C209D is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.194 H 315.0°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#7C209D
RGBrgb(124, 32, 157)
HSLhsl(284, 66%, 37%)
HSVhsv(284, 80%, 62%)
CMYKcmyk(21%, 79.6%, 0%, 38.4%)
CIE-LABlab(33.46, 56.48, -48.52)
CIE-LCHlch(33.46, 74.46, 319.33°)
OKLaboklab(45.18% 0.137 -0.137)
OKLCHoklch(45.18% 0.194 315)
XYZxyz(14.9135, 7.7530, 32.6026)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C209D #419D20
analogous
#3E209D #7C209D #9D2080
triadic
#7C209D #9D7C20 #209D7C
tetradic
#7C209D #9D3E20 #419D20 #20809D
square
#7C209D #9D3E20 #419D20 #20809D
split-complementary
#7C209D #809D20 #209D3E
monochromatic
#2C0B37 #54166A #7C209D #A42AD0 #BB5ADD

Accessibility & contrast

On white

8.23
#7C209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7C209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C209D
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C209D#FFFFFF#000000##FFFFFF
##7C209D1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#19519A
Tritanopia (blue-blind)
#793D5F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7c209d;
/* rgb */ color: rgb(124, 32, 157);
/* oklch */ color: oklch(45.2% 0.194 315.0);
Tailwind
colors: {
  custom: {
    50: '#a667bb',
    500: '#7c209d',
    950: '#000000',
  },
}
SCSS
$custom: #7c209d;
$custom-light: #a667bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c209d",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 284.16,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45177,
    "c": 0.19373,
    "h": 315
  },
  "luminance": 0.07752
}

Semantic roles & 50–950 ramp

primary
#7C209D
secondary
#73C157
accent
#E93F6C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C209D

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

Preview Lab → · Contrast checker → · Palette generator →

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