#7C2A90#7C2A90

#7C2A90 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.2% C 0.171 H 319.1°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#7C2A90
RGBrgb(124, 42, 144)
HSLhsl(288, 55%, 36%)
HSVhsv(288, 71%, 56%)
CMYKcmyk(13.9%, 70.8%, 0%, 43.5%)
CIE-LABlab(33.89, 50.10, -39.90)
CIE-LCHlch(33.89, 64.05, 321.47°)
OKLaboklab(45.2% 0.1289 -0.1118)
OKLCHoklch(45.2% 0.171 319.1)
XYZxyz(14.1735, 7.9553, 27.1691)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2A90 #3E902A
analogous
#492A90 #7C2A90 #902A71
triadic
#7C2A90 #907C2A #2A907C
tetradic
#7C2A90 #90492A #3E902A #2A7190
square
#7C2A90 #90492A #3E902A #2A7190
split-complementary
#7C2A90 #71902A #2A9049
monochromatic
#2A0E31 #531C61 #7C2A90 #A538BF #BC63D1

Accessibility & contrast

On white

8.10
#7C2A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7C2A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2A90
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2A90#FFFFFF#000000##FFFFFF
##7C2A901.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#31528E
Tritanopia (blue-blind)
#7C3D5A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7c2a90;
/* rgb */ color: rgb(124, 42, 144);
/* oklch */ color: oklch(45.2% 0.171 319.1);
Tailwind
colors: {
  custom: {
    50: '#a56bb1',
    500: '#7c2a90',
    950: '#000000',
  },
}
SCSS
$custom: #7c2a90;
$custom-light: #a56bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2a90",
  "rgb": {
    "r": 124,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 288.235,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45197,
    "c": 0.17061,
    "h": 319.1
  },
  "luminance": 0.07955
}

Semantic roles & 50–950 ramp

primary
#7C2A90
secondary
#70B75E
accent
#DE4A67
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C2A90

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

Preview Lab → · Contrast checker → · Palette generator →

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