#7F2083#7F2083

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

Color values

HEX#7F2083
RGBrgb(127, 32, 131)
HSLhsl(298, 61%, 32%)
HSVhsv(298, 76%, 51%)
CMYKcmyk(3.1%, 75.6%, 0%, 48.6%)
CIE-LABlab(32.22, 52.15, -34.48)
CIE-LCHlch(32.22, 62.52, 326.52°)
OKLaboklab(43.84% 0.1435 -0.0958)
OKLCHoklch(43.84% 0.173 326.3)
XYZxyz(13.3654, 7.1847, 22.1511)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2083 #248320
analogous
#4E2083 #7F2083 #832056
triadic
#7F2083 #837F20 #20837F
tetradic
#7F2083 #834E20 #248320 #205683
square
#7F2083 #834E20 #248320 #205683
split-complementary
#7F2083 #568320 #20834E
monochromatic
#200821 #4F1452 #7F2083 #AF2CB4 #CD4AD3

Accessibility & contrast

On white

8.62
#7F2083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2083
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2083#FFFFFF#000000##FFFFFF
##7F20831.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034486
Deuteranopia (green-blind)
#375081
Tritanopia (blue-blind)
#823150
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f2083;
/* rgb */ color: rgb(127, 32, 131);
/* oklch */ color: oklch(43.8% 0.173 326.3);
Tailwind
colors: {
  custom: {
    50: '#a766a7',
    500: '#7f2083',
    950: '#000000',
  },
}
SCSS
$custom: #7f2083;
$custom-light: #a766a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2083",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 297.576,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43843,
    "c": 0.17252,
    "h": 326.3
  },
  "luminance": 0.07184
}

Semantic roles & 50–950 ramp

primary
#7F2083
secondary
#4EB649
accent
#E4444A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7F2083

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

Preview Lab → · Contrast checker → · Palette generator →

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