#7F2783#7F2783

#7F2783 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.164 H 326.1°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7F2783
RGBrgb(127, 39, 131)
HSLhsl(297, 54%, 33%)
HSVhsv(297, 70%, 51%)
CMYKcmyk(3.1%, 70.2%, 0%, 48.6%)
CIE-LABlab(33.14, 49.54, -33.02)
CIE-LCHlch(33.14, 59.54, 326.31°)
OKLaboklab(44.5% 0.1362 -0.0916)
OKLCHoklch(44.5% 0.164 326.1)
XYZxyz(13.5744, 7.6026, 22.2208)
Luminance0.0760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2783 #2B8327
analogous
#512783 #7F2783 #832759
triadic
#7F2783 #837F27 #27837F
tetradic
#7F2783 #835127 #2B8327 #275983
square
#7F2783 #835127 #2B8327 #275983
split-complementary
#7F2783 #598327 #278351
monochromatic
#240B25 #511954 #7F2783 #AD35B2 #C857CD

Accessibility & contrast

On white

8.33
#7F2783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7F2783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2783
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2783#FFFFFF#000000##FFFFFF
##7F27831.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144786
Deuteranopia (green-blind)
#3B5281
Tritanopia (blue-blind)
#823552
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7f2783;
/* rgb */ color: rgb(127, 39, 131);
/* oklch */ color: oklch(44.5% 0.164 326.1);
Tailwind
colors: {
  custom: {
    50: '#a769a7',
    500: '#7f2783',
    950: '#000000',
  },
}
SCSS
$custom: #7f2783;
$custom-light: #a769a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2783",
  "rgb": {
    "r": 127,
    "g": 39,
    "b": 131
  },
  "hsl": {
    "h": 297.391,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44501,
    "c": 0.16414,
    "h": 326.1
  },
  "luminance": 0.07602
}

Semantic roles & 50–950 ramp

primary
#7F2783
secondary
#58B254
accent
#DD4A51
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7F2783

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

Preview Lab → · Contrast checker → · Palette generator →

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