#7C2299#7C2299

#7C2299 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.188 H 316.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#7C2299
RGBrgb(124, 34, 153)
HSLhsl(285, 64%, 37%)
HSVhsv(285, 78%, 60%)
CMYKcmyk(19%, 77.8%, 0%, 40%)
CIE-LABlab(33.41, 54.99, -46.17)
CIE-LCHlch(33.41, 71.80, 319.99°)
OKLaboklab(45.05% 0.1359 -0.1301)
OKLCHoklch(45.05% 0.188 316.2)
XYZxyz(14.6331, 7.7296, 30.8520)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2299 #3F9922
analogous
#412299 #7C2299 #99227B
triadic
#7C2299 #997C22 #22997C
tetradic
#7C2299 #994122 #3F9922 #227B99
square
#7C2299 #994122 #3F9922 #227B99
split-complementary
#7C2299 #7B9922 #229941
monochromatic
#2B0C35 #531767 #7C2299 #A52DCB #BB5BDB

Accessibility & contrast

On white

8.25
#7C2299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C2299
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2299#FFFFFF#000000##FFFFFF
##7C22991.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#215196
Tritanopia (blue-blind)
#7A3D5D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7c2299;
/* rgb */ color: rgb(124, 34, 153);
/* oklch */ color: oklch(45.1% 0.188 316.2);
Tailwind
colors: {
  custom: {
    50: '#a668b8',
    500: '#7c2299',
    950: '#000000',
  },
}
SCSS
$custom: #7c2299;
$custom-light: #a668b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2299",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 285.378,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45051,
    "c": 0.18816,
    "h": 316.2
  },
  "luminance": 0.07729
}

Semantic roles & 50–950 ramp

primary
#7C2299
secondary
#71BF58
accent
#E74169
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C2299

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

Preview Lab → · Contrast checker → · Palette generator →

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