#7C299E#7C299E

#7C299E is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.185 H 314.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#7C299E
RGBrgb(124, 41, 158)
HSLhsl(283, 59%, 39%)
HSVhsv(283, 74%, 62%)
CMYKcmyk(21.5%, 74.1%, 0%, 38%)
CIE-LABlab(34.68, 53.39, -47.16)
CIE-LCHlch(34.68, 71.24, 318.55°)
OKLaboklab(46.06% 0.1286 -0.1331)
OKLCHoklch(46.06% 0.185 314)
XYZxyz(15.2756, 8.3401, 33.1462)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C299E #4B9E29
analogous
#42299E #7C299E #9E2986
triadic
#7C299E #9E7C29 #299E7C
tetradic
#7C299E #9E4229 #4B9E29 #29869E
square
#7C299E #9E4229 #4B9E29 #29869E
split-complementary
#7C299E #869E29 #299E42
monochromatic
#30103D #561C6D #7C299E #A139CC #B869D8

Accessibility & contrast

On white

7.87
#7C299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7C299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C299E
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C299E#FFFFFF#000000##FFFFFF
##7C299E1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#21549B
Tritanopia (blue-blind)
#794361
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7c299e;
/* rgb */ color: rgb(124, 41, 158);
/* oklch */ color: oklch(46.1% 0.185 314.0);
Tailwind
colors: {
  custom: {
    50: '#a66bbb',
    500: '#7c299e',
    950: '#000000',
  },
}
SCSS
$custom: #7c299e;
$custom-light: #a66bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c299e",
  "rgb": {
    "r": 124,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 282.564,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4606,
    "c": 0.18504,
    "h": 314
  },
  "luminance": 0.0834
}

Semantic roles & 50–950 ramp

primary
#7C299E
secondary
#7FBF64
accent
#E24673
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C299E

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

Preview Lab → · Contrast checker → · Palette generator →

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