#7F379D#7F379D

#7F379D is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.0% C 0.167 H 314.5°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#7F379D
RGBrgb(127, 55, 157)
HSLhsl(282, 48%, 42%)
HSVhsv(282, 65%, 62%)
CMYKcmyk(19.1%, 65%, 0%, 38.4%)
CIE-LABlab(37.26, 47.67, -42.39)
CIE-LCHlch(37.26, 63.79, 318.36°)
OKLaboklab(47.98% 0.117 -0.1191)
OKLCHoklch(47.98% 0.167 314.5)
XYZxyz(16.2034, 9.6792, 32.9065)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F379D #559D37
analogous
#4C379D #7F379D #9D3788
triadic
#7F379D #9D7F37 #379D7F
tetradic
#7F379D #9D4C37 #559D37 #37889D
square
#7F379D #9D4C37 #559D37 #37889D
split-complementary
#7F379D #889D37 #379D4C
monochromatic
#361742 #5A2770 #7F379D #A050C2 #B97DD1

Accessibility & contrast

On white

7.15
#7F379D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7F379D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F379D
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F379D#FFFFFF#000000##FFFFFF
##7F379D1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B54A0
Deuteranopia (green-blind)
#345A9B
Tritanopia (blue-blind)
#7C4A65
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7f379d;
/* rgb */ color: rgb(127, 55, 157);
/* oklch */ color: oklch(48.0% 0.167 314.5);
Tailwind
colors: {
  custom: {
    50: '#a773ba',
    500: '#7f379d',
    950: '#000000',
  },
}
SCSS
$custom: #7f379d;
$custom-light: #a773ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7f379d",
  "rgb": {
    "r": 127,
    "g": 55,
    "b": 157
  },
  "hsl": {
    "h": 282.353,
    "s": 48.113,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47977,
    "c": 0.16692,
    "h": 314.5
  },
  "luminance": 0.09679
}

Semantic roles & 50–950 ramp

primary
#7F379D
secondary
#8ABB75
accent
#D85078
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7F379D

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

Preview Lab → · Contrast checker → · Palette generator →

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