#7D2285#7D2285

#7D2285 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.171 H 324.4°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#7D2285
RGBrgb(125, 34, 133)
HSLhsl(295, 59%, 33%)
HSVhsv(295, 74%, 52%)
CMYKcmyk(6%, 74.4%, 0%, 47.8%)
CIE-LABlab(32.25, 51.35, -35.70)
CIE-LCHlch(32.25, 62.54, 325.19°)
OKLaboklab(43.84% 0.1391 -0.0994)
OKLCHoklch(43.84% 0.171 324.4)
XYZxyz(13.2628, 7.1983, 22.8766)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2285 #2A8522
analogous
#4C2285 #7D2285 #85225B
triadic
#7D2285 #857D22 #22857D
tetradic
#7D2285 #854C22 #2A8522 #225B85
square
#7D2285 #854C22 #2A8522 #225B85
split-complementary
#7D2285 #5B8522 #22854C
monochromatic
#210924 #4F1654 #7D2285 #AB2EB6 #C84FD2

Accessibility & contrast

On white

8.61
#7D2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7D2285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2285
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2285#FFFFFF#000000##FFFFFF
##7D22851.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004588
Deuteranopia (green-blind)
#355083
Tritanopia (blue-blind)
#803351
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d2285;
/* rgb */ color: rgb(125, 34, 133);
/* oklch */ color: oklch(43.8% 0.171 324.4);
Tailwind
colors: {
  custom: {
    50: '#a667a9',
    500: '#7d2285',
    950: '#000000',
  },
}
SCSS
$custom: #7d2285;
$custom-light: #a667a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2285",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 295.152,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43838,
    "c": 0.17098,
    "h": 324.4
  },
  "luminance": 0.07197
}

Semantic roles & 50–950 ramp

primary
#7D2285
secondary
#56B64D
accent
#E24552
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D2285

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

Preview Lab → · Contrast checker → · Palette generator →

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