#7F2383#7F2383

#7F2383 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.1% C 0.169 H 326.2°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#7F2383
RGBrgb(127, 35, 131)
HSLhsl(298, 58%, 33%)
HSVhsv(298, 73%, 51%)
CMYKcmyk(3.1%, 73.3%, 0%, 48.6%)
CIE-LABlab(32.60, 51.08, -33.89)
CIE-LCHlch(32.60, 61.29, 326.44°)
OKLaboklab(44.11% 0.1405 -0.0941)
OKLCHoklch(44.11% 0.169 326.2)
XYZxyz(13.4499, 7.3537, 22.1793)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2383 #278323
analogous
#4F2383 #7F2383 #832357
triadic
#7F2383 #837F23 #23837F
tetradic
#7F2383 #834F23 #278323 #235783
square
#7F2383 #834F23 #278323 #235783
split-complementary
#7F2383 #578323 #23834F
monochromatic
#210922 #501653 #7F2383 #AE30B3 #CB50D0

Accessibility & contrast

On white

8.50
#7F2383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7F2383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2383
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2383#FFFFFF#000000##FFFFFF
##7F23831.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4586
Deuteranopia (green-blind)
#395181
Tritanopia (blue-blind)
#823351
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f2383;
/* rgb */ color: rgb(127, 35, 131);
/* oklch */ color: oklch(44.1% 0.169 326.2);
Tailwind
colors: {
  custom: {
    50: '#a768a7',
    500: '#7f2383',
    950: '#000000',
  },
}
SCSS
$custom: #7f2383;
$custom-light: #a768a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2383",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 297.5,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44112,
    "c": 0.16908,
    "h": 326.2
  },
  "luminance": 0.07353
}

Semantic roles & 50–950 ramp

primary
#7F2383
secondary
#52B44E
accent
#E1474D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7F2383

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

Preview Lab → · Contrast checker → · Palette generator →

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