#7C2990#7C2990

#7C2990 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.1% C 0.172 H 319.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#7C2990
RGBrgb(124, 41, 144)
HSLhsl(288, 56%, 36%)
HSVhsv(288, 72%, 56%)
CMYKcmyk(13.9%, 71.5%, 0%, 43.5%)
CIE-LABlab(33.74, 50.52, -40.13)
CIE-LCHlch(33.74, 64.52, 321.54°)
OKLaboklab(45.09% 0.13 -0.1125)
OKLCHoklch(45.09% 0.172 319.1)
XYZxyz(14.1385, 7.8852, 27.1574)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2990 #3D9029
analogous
#492990 #7C2990 #902971
triadic
#7C2990 #907C29 #29907C
tetradic
#7C2990 #904929 #3D9029 #297190
square
#7C2990 #904929 #3D9029 #297190
split-complementary
#7C2990 #719029 #299049
monochromatic
#2A0E31 #531B60 #7C2990 #A537C0 #BC61D2

Accessibility & contrast

On white

8.15
#7C2990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7C2990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2990
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2990#FFFFFF#000000##FFFFFF
##7C29901.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#30528E
Tritanopia (blue-blind)
#7C3D59
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7c2990;
/* rgb */ color: rgb(124, 41, 144);
/* oklch */ color: oklch(45.1% 0.172 319.1);
Tailwind
colors: {
  custom: {
    50: '#a56bb1',
    500: '#7c2990',
    950: '#000000',
  },
}
SCSS
$custom: #7c2990;
$custom-light: #a56bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2990",
  "rgb": {
    "r": 124,
    "g": 41,
    "b": 144
  },
  "hsl": {
    "h": 288.35,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45092,
    "c": 0.17188,
    "h": 319.1
  },
  "luminance": 0.07885
}

Semantic roles & 50–950 ramp

primary
#7C2990
secondary
#6FB85D
accent
#DF4966
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C2990

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

Preview Lab → · Contrast checker → · Palette generator →

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