#7C299B#7C299B

#7C299B is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.182 H 315.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#7C299B
RGBrgb(124, 41, 155)
HSLhsl(284, 58%, 38%)
HSVhsv(284, 74%, 61%)
CMYKcmyk(20%, 73.5%, 0%, 39.2%)
CIE-LABlab(34.47, 52.76, -45.67)
CIE-LCHlch(34.47, 69.79, 319.12°)
OKLaboklab(45.85% 0.129 -0.1287)
OKLCHoklch(45.85% 0.182 315.1)
XYZxyz(15.0205, 8.2381, 31.8029)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C299B #489B29
analogous
#43299B #7C299B #9B2981
triadic
#7C299B #9B7C29 #299B7C
tetradic
#7C299B #9B4329 #489B29 #29819B
square
#7C299B #9B4329 #489B29 #29819B
split-complementary
#7C299B #819B29 #299B43
monochromatic
#2F0F3A #551C6B #7C299B #A237CA #B967D7

Accessibility & contrast

On white

7.93
#7C299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7C299B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C299B
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C299B#FFFFFF#000000##FFFFFF
##7C299B1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#255398
Tritanopia (blue-blind)
#794160
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7c299b;
/* rgb */ color: rgb(124, 41, 155);
/* oklch */ color: oklch(45.8% 0.182 315.1);
Tailwind
colors: {
  custom: {
    50: '#a66bb9',
    500: '#7c299b',
    950: '#000000',
  },
}
SCSS
$custom: #7c299b;
$custom-light: #a66bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c299b",
  "rgb": {
    "r": 124,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 283.684,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45847,
    "c": 0.1822,
    "h": 315.1
  },
  "luminance": 0.08238
}

Semantic roles & 50–950 ramp

primary
#7C299B
secondary
#7BBD63
accent
#E14671
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C299B

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

Preview Lab → · Contrast checker → · Palette generator →

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