#7C209E#7C209E

#7C209E is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.195 H 314.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#7C209E
RGBrgb(124, 32, 158)
HSLhsl(284, 66%, 37%)
HSVhsv(284, 80%, 62%)
CMYKcmyk(21.5%, 79.7%, 0%, 38%)
CIE-LABlab(33.54, 56.68, -49.01)
CIE-LCHlch(33.54, 74.93, 319.15°)
OKLaboklab(45.25% 0.1368 -0.1384)
OKLCHoklch(45.25% 0.195 314.7)
XYZxyz(14.9992, 7.7873, 33.0541)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C209E #429E20
analogous
#3D209E #7C209E #9E2081
triadic
#7C209E #9E7C20 #209E7C
tetradic
#7C209E #9E3D20 #429E20 #20819E
square
#7C209E #9E3D20 #429E20 #20819E
split-complementary
#7C209E #819E20 #209E3D
monochromatic
#2C0B38 #54166B #7C209E #A42AD1 #BA5BDE

Accessibility & contrast

On white

8.21
#7C209E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7C209E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C209E
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C209E#FFFFFF#000000##FFFFFF
##7C209E1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#17519B
Tritanopia (blue-blind)
#793E5F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7c209e;
/* rgb */ color: rgb(124, 32, 158);
/* oklch */ color: oklch(45.3% 0.195 314.7);
Tailwind
colors: {
  custom: {
    50: '#a667bb',
    500: '#7c209e',
    950: '#000000',
  },
}
SCSS
$custom: #7c209e;
$custom-light: #a667bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c209e",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 283.81,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45251,
    "c": 0.19461,
    "h": 314.7
  },
  "luminance": 0.07787
}

Semantic roles & 50–950 ramp

primary
#7C209E
secondary
#75C258
accent
#E93F6D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C209E

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

Preview Lab → · Contrast checker → · Palette generator →

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