#7C2B85#7C2B85

#7C2B85 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.6% C 0.159 H 323.6°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#7C2B85
RGBrgb(124, 43, 133)
HSLhsl(294, 51%, 35%)
HSVhsv(294, 68%, 52%)
CMYKcmyk(6.8%, 67.7%, 0%, 47.8%)
CIE-LABlab(33.37, 47.51, -33.94)
CIE-LCHlch(33.37, 58.39, 324.46°)
OKLaboklab(44.6% 0.128 -0.0944)
OKLCHoklch(44.6% 0.159 323.6)
XYZxyz(13.4093, 7.7071, 22.9671)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2B85 #34852B
analogous
#4F2B85 #7C2B85 #852B61
triadic
#7C2B85 #857C2B #2B857C
tetradic
#7C2B85 #854F2B #34852B #2B6185
square
#7C2B85 #854F2B #34852B #2B6185
split-complementary
#7C2B85 #61852B #2B854F
monochromatic
#260D29 #511C57 #7C2B85 #A73AB3 #C05FCB

Accessibility & contrast

On white

8.26
#7C2B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7C2B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2B85
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2B85#FFFFFF#000000##FFFFFF
##7C2B851.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164888
Deuteranopia (green-blind)
#395283
Tritanopia (blue-blind)
#7E3954
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c2b85;
/* rgb */ color: rgb(124, 43, 133);
/* oklch */ color: oklch(44.6% 0.159 323.6);
Tailwind
colors: {
  custom: {
    50: '#a56ba9',
    500: '#7c2b85',
    950: '#000000',
  },
}
SCSS
$custom: #7c2b85;
$custom-light: #a56ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2b85",
  "rgb": {
    "r": 124,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 294,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44603,
    "c": 0.15905,
    "h": 323.6
  },
  "luminance": 0.07706
}

Semantic roles & 50–950 ramp

primary
#7C2B85
secondary
#63B15B
accent
#DB4D5B
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7C2B85

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

Preview Lab → · Contrast checker → · Palette generator →

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