#7F2585#7F2585

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

Color values

HEX#7F2585
RGBrgb(127, 37, 133)
HSLhsl(296, 56%, 33%)
HSVhsv(296, 72%, 52%)
CMYKcmyk(4.5%, 72.2%, 0%, 47.8%)
CIE-LABlab(32.98, 50.69, -34.52)
CIE-LCHlch(32.98, 61.33, 325.74°)
OKLaboklab(44.43% 0.1384 -0.096)
OKLCHoklch(44.43% 0.168 325.3)
XYZxyz(13.6473, 7.5295, 22.9203)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2585 #2B8525
analogous
#4F2585 #7F2585 #85255B
triadic
#7F2585 #857F25 #25857F
tetradic
#7F2585 #854F25 #2B8525 #255B85
square
#7F2585 #854F25 #2B8525 #255B85
split-complementary
#7F2585 #5B8525 #25854F
monochromatic
#240A25 #511855 #7F2585 #AD32B5 #C855D0

Accessibility & contrast

On white

8.38
#7F2585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7F2585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2585
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2585#FFFFFF#000000##FFFFFF
##7F25851.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4688
Deuteranopia (green-blind)
#395183
Tritanopia (blue-blind)
#823552
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7f2585;
/* rgb */ color: rgb(127, 37, 133);
/* oklch */ color: oklch(44.4% 0.168 325.3);
Tailwind
colors: {
  custom: {
    50: '#a769a9',
    500: '#7f2585',
    950: '#000000',
  },
}
SCSS
$custom: #7f2585;
$custom-light: #a769a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2585",
  "rgb": {
    "r": 127,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 296.25,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44425,
    "c": 0.16838,
    "h": 325.3
  },
  "luminance": 0.07529
}

Semantic roles & 50–950 ramp

primary
#7F2585
secondary
#58B452
accent
#E04852
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7F2585

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

Preview Lab → · Contrast checker → · Palette generator →

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