#7C2E92#7C2E92

#7C2E92 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.8% C 0.167 H 318.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#7C2E92
RGBrgb(124, 46, 146)
HSLhsl(287, 52%, 38%)
HSVhsv(287, 68%, 57%)
CMYKcmyk(15.1%, 68.5%, 0%, 42.7%)
CIE-LABlab(34.63, 48.79, -39.94)
CIE-LCHlch(34.63, 63.05, 320.70°)
OKLaboklab(45.77% 0.1243 -0.1119)
OKLCHoklch(45.77% 0.167 318)
XYZxyz(14.4768, 8.3150, 28.0310)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2E92 #44922E
analogous
#4A2E92 #7C2E92 #922E76
triadic
#7C2E92 #927C2E #2E927C
tetradic
#7C2E92 #924A2E #44922E #2E7692
square
#7C2E92 #924A2E #44922E #2E7692
split-complementary
#7C2E92 #76922E #2E924A
monochromatic
#2D1135 #541F63 #7C2E92 #A43DC1 #BA6AD0

Accessibility & contrast

On white

7.89
#7C2E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7C2E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2E92
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2E92#FFFFFF#000000##FFFFFF
##7C2E921.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024C95
Deuteranopia (green-blind)
#325490
Tritanopia (blue-blind)
#7B405C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7c2e92;
/* rgb */ color: rgb(124, 46, 146);
/* oklch */ color: oklch(45.8% 0.167 318.0);
Tailwind
colors: {
  custom: {
    50: '#a56db2',
    500: '#7c2e92',
    950: '#000000',
  },
}
SCSS
$custom: #7c2e92;
$custom-light: #a56db2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2e92",
  "rgb": {
    "r": 124,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 286.8,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45769,
    "c": 0.16724,
    "h": 318
  },
  "luminance": 0.08314
}

Semantic roles & 50–950 ramp

primary
#7C2E92
secondary
#77B765
accent
#DC4C6C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C2E92

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

Preview Lab → · Contrast checker → · Palette generator →

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