#7D286F#7D286F

#7D286F is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.145 H 335.0°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#7D286F
RGBrgb(125, 40, 111)
HSLhsl(310, 52%, 32%)
HSVhsv(310, 68%, 49%)
CMYKcmyk(0%, 68%, 11.2%, 51%)
CIE-LABlab(31.87, 45.11, -22.47)
CIE-LCHlch(31.87, 50.39, 333.52°)
OKLaboklab(43.16% 0.1313 -0.0612)
OKLCHoklch(43.16% 0.145 335)
XYZxyz(12.0856, 7.0263, 15.7555)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D286F #287D36
analogous
#60287D #7D286F #7D2845
triadic
#7D286F #6F7D28 #286F7D
tetradic
#7D286F #7D6028 #287D36 #28457D
square
#7D286F #7D6028 #287D36 #28457D
split-complementary
#7D286F #457D28 #287D60
monochromatic
#200A1D #4F1946 #7D286F #AB3798 #C956B6

Accessibility & contrast

On white

8.73
#7D286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7D286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D286F
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D286F#FFFFFF#000000##FFFFFF
##7D286F1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284371
Deuteranopia (green-blind)
#44506D
Tritanopia (blue-blind)
#832E48
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d286f;
/* rgb */ color: rgb(125, 40, 111);
/* oklch */ color: oklch(43.2% 0.145 335.0);
Tailwind
colors: {
  custom: {
    50: '#a56998',
    500: '#7d286f',
    950: '#000000',
  },
}
SCSS
$custom: #7d286f;
$custom-light: #a56998;
$custom-dark: #000000;
JSON
{
  "hex": "#7d286f",
  "rgb": {
    "r": 125,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 309.882,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43161,
    "c": 0.14484,
    "h": 335
  },
  "luminance": 0.07025
}

Semantic roles & 50–950 ramp

primary
#7D286F
secondary
#53AE62
accent
#DB644D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7D286F

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

Preview Lab → · Contrast checker → · Palette generator →

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