#7C2B92#7C2B92

#7C2B92 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.4% C 0.171 H 318.2°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#7C2B92
RGBrgb(124, 43, 146)
HSLhsl(287, 54%, 37%)
HSVhsv(287, 71%, 57%)
CMYKcmyk(15.1%, 70.5%, 0%, 42.7%)
CIE-LABlab(34.17, 50.09, -40.68)
CIE-LCHlch(34.17, 64.52, 320.92°)
OKLaboklab(45.44% 0.1277 -0.1141)
OKLCHoklch(45.44% 0.171 318.2)
XYZxyz(14.3636, 8.0888, 27.9932)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2B92 #41922B
analogous
#482B92 #7C2B92 #922B75
triadic
#7C2B92 #927C2B #2B927C
tetradic
#7C2B92 #92482B #41922B #2B7592
square
#7C2B92 #92482B #41922B #2B7592
split-complementary
#7C2B92 #75922B #2B9248
monochromatic
#2C0F33 #541D63 #7C2B92 #A439C1 #BB66D2

Accessibility & contrast

On white

8.02
#7C2B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7C2B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2B92
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2B92#FFFFFF#000000##FFFFFF
##7C2B921.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#305390
Tritanopia (blue-blind)
#7C3F5B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7c2b92;
/* rgb */ color: rgb(124, 43, 146);
/* oklch */ color: oklch(45.4% 0.171 318.2);
Tailwind
colors: {
  custom: {
    50: '#a56cb2',
    500: '#7c2b92',
    950: '#000000',
  },
}
SCSS
$custom: #7c2b92;
$custom-light: #a56cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2b92",
  "rgb": {
    "r": 124,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 287.184,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45437,
    "c": 0.1712,
    "h": 318.2
  },
  "luminance": 0.08088
}

Semantic roles & 50–950 ramp

primary
#7C2B92
secondary
#73B861
accent
#DE4A6A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C2B92

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

Preview Lab → · Contrast checker → · Palette generator →

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