#7C2F85#7C2F85

#7C2F85 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.1% C 0.153 H 323.4°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#7C2F85
RGBrgb(124, 47, 133)
HSLhsl(294, 48%, 35%)
HSVhsv(294, 65%, 52%)
CMYKcmyk(6.8%, 64.7%, 0%, 47.8%)
CIE-LABlab(34.01, 45.72, -32.92)
CIE-LCHlch(34.01, 56.34, 324.24°)
OKLaboklab(45.07% 0.1231 -0.0915)
OKLCHoklch(45.07% 0.153 323.4)
XYZxyz(13.5619, 8.0123, 23.0179)
Luminance0.0801 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2F85 #38852F
analogous
#512F85 #7C2F85 #852F63
triadic
#7C2F85 #857C2F #2F857C
tetradic
#7C2F85 #85512F #38852F #2F6385
square
#7C2F85 #85512F #38852F #2F6385
split-complementary
#7C2F85 #63852F #2F8551
monochromatic
#280F2B #521F58 #7C2F85 #A63FB2 #BE66C9

Accessibility & contrast

On white

8.07
#7C2F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7C2F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2F85
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2F85#FFFFFF#000000##FFFFFF
##7C2F851.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4A88
Deuteranopia (green-blind)
#3C5383
Tritanopia (blue-blind)
#7E3C55
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7c2f85;
/* rgb */ color: rgb(124, 47, 133);
/* oklch */ color: oklch(45.1% 0.153 323.4);
Tailwind
colors: {
  custom: {
    50: '#a56da9',
    500: '#7c2f85',
    950: '#000000',
  },
}
SCSS
$custom: #7c2f85;
$custom-light: #a56da9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2f85",
  "rgb": {
    "r": 124,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 293.721,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45068,
    "c": 0.15335,
    "h": 323.4
  },
  "luminance": 0.08012
}

Semantic roles & 50–950 ramp

primary
#7C2F85
secondary
#68B060
accent
#D7505F
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7C2F85

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

Preview Lab → · Contrast checker → · Palette generator →

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