#7F2085#7F2085

#7F2085 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.174 H 325.4°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#7F2085
RGBrgb(127, 32, 133)
HSLhsl(296, 61%, 32%)
HSVhsv(296, 76%, 52%)
CMYKcmyk(4.5%, 75.9%, 0%, 47.8%)
CIE-LABlab(32.35, 52.50, -35.53)
CIE-LCHlch(32.35, 63.40, 325.91°)
OKLaboklab(43.97% 0.1434 -0.0989)
OKLCHoklch(43.97% 0.174 325.4)
XYZxyz(13.5022, 7.2394, 22.8719)
Luminance0.0724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2085 #268520
analogous
#4D2085 #7F2085 #852058
triadic
#7F2085 #857F20 #20857F
tetradic
#7F2085 #854D20 #268520 #205885
square
#7F2085 #854D20 #268520 #205885
split-complementary
#7F2085 #588520 #20854D
monochromatic
#210822 #501454 #7F2085 #AE2CB6 #CC4CD4

Accessibility & contrast

On white

8.58
#7F2085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7F2085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2085
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2085#FFFFFF#000000##FFFFFF
##7F20851.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2085;
/* rgb */ color: rgb(127, 32, 133);
/* oklch */ color: oklch(44.0% 0.174 325.4);
Tailwind
colors: {
  custom: {
    50: '#a766a9',
    500: '#7f2085',
    950: '#000000',
  },
}
SCSS
$custom: #7f2085;
$custom-light: #a766a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2085",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 296.436,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4397,
    "c": 0.17418,
    "h": 325.4
  },
  "luminance": 0.07239
}

Semantic roles & 50–950 ramp

primary
#7F2085
secondary
#51B74A
accent
#E4434D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7F2085

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

Preview Lab → · Contrast checker → · Palette generator →

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