#7C2285#7C2285

#7C2285 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.171 H 324.0°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#7C2285
RGBrgb(124, 34, 133)
HSLhsl(295, 59%, 33%)
HSVhsv(295, 74%, 52%)
CMYKcmyk(6.8%, 74.4%, 0%, 47.8%)
CIE-LABlab(32.09, 51.12, -35.98)
CIE-LCHlch(32.09, 62.51, 324.86°)
OKLaboklab(43.69% 0.1379 -0.1003)
OKLCHoklch(43.69% 0.171 324)
XYZxyz(13.1175, 7.1234, 22.8698)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2285 #2B8522
analogous
#4A2285 #7C2285 #85225D
triadic
#7C2285 #857C22 #22857C
tetradic
#7C2285 #854A22 #2B8522 #225D85
square
#7C2285 #854A22 #2B8522 #225D85
split-complementary
#7C2285 #5D8522 #22854A
monochromatic
#210924 #4F1654 #7C2285 #A92EB6 #C64FD2

Accessibility & contrast

On white

8.66
#7C2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7C2285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2285
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2285#FFFFFF#000000##FFFFFF
##7C22851.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004588
Deuteranopia (green-blind)
#344F83
Tritanopia (blue-blind)
#7E3351
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c2285;
/* rgb */ color: rgb(124, 34, 133);
/* oklch */ color: oklch(43.7% 0.171 324.0);
Tailwind
colors: {
  custom: {
    50: '#a567a9',
    500: '#7c2285',
    950: '#000000',
  },
}
SCSS
$custom: #7c2285;
$custom-light: #a567a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2285",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 294.545,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43685,
    "c": 0.1705,
    "h": 324
  },
  "luminance": 0.07123
}

Semantic roles & 50–950 ramp

primary
#7C2285
secondary
#57B64D
accent
#E24554
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C2285

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

Preview Lab → · Contrast checker → · Palette generator →

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