#7D2687#7D2687

#7D2687 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.168 H 323.4°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#7D2687
RGBrgb(125, 38, 135)
HSLhsl(294, 56%, 34%)
HSVhsv(294, 72%, 53%)
CMYKcmyk(7.4%, 71.9%, 0%, 47.1%)
CIE-LABlab(32.91, 50.20, -35.90)
CIE-LCHlch(32.91, 61.72, 324.43°)
OKLaboklab(44.35% 0.1349 -0.1)
OKLCHoklch(44.35% 0.168 323.4)
XYZxyz(13.5233, 7.4963, 23.6516)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2687 #308726
analogous
#4D2687 #7D2687 #872661
triadic
#7D2687 #877D26 #26877D
tetradic
#7D2687 #874D26 #308726 #266187
square
#7D2687 #874D26 #308726 #266187
split-complementary
#7D2687 #618726 #26874D
monochromatic
#250B27 #511957 #7D2687 #A933B7 #C358D0

Accessibility & contrast

On white

8.40
#7D2687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7D2687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2687
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2687#FFFFFF#000000##FFFFFF
##7D26871.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07478A
Deuteranopia (green-blind)
#365185
Tritanopia (blue-blind)
#7F3754
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d2687;
/* rgb */ color: rgb(125, 38, 135);
/* oklch */ color: oklch(44.3% 0.168 323.4);
Tailwind
colors: {
  custom: {
    50: '#a669aa',
    500: '#7d2687',
    950: '#000000',
  },
}
SCSS
$custom: #7d2687;
$custom-light: #a669aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2687",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 293.814,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44348,
    "c": 0.16791,
    "h": 323.4
  },
  "luminance": 0.07495
}

Semantic roles & 50–950 ramp

primary
#7D2687
secondary
#5EB554
accent
#DF4858
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2687

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

Preview Lab → · Contrast checker → · Palette generator →

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