#7F389B#7F389B

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

Color values

HEX#7F389B
RGBrgb(127, 56, 155)
HSLhsl(283, 47%, 41%)
HSVhsv(283, 64%, 61%)
CMYKcmyk(18.1%, 63.9%, 0%, 39.2%)
CIE-LABlab(37.31, 46.75, -41.10)
CIE-LCHlch(37.31, 62.25, 318.68°)
OKLaboklab(47.97% 0.1158 -0.1153)
OKLCHoklch(47.97% 0.163 315.1)
XYZxyz(16.0820, 9.7075, 32.0306)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F389B #549B38
analogous
#4E389B #7F389B #9B3886
triadic
#7F389B #9B7F38 #389B7F
tetradic
#7F389B #9B4E38 #549B38 #38869B
square
#7F389B #9B4E38 #549B38 #38869B
split-complementary
#7F389B #869B38 #389B4E
monochromatic
#351841 #5A286E #7F389B #A050C0 #B97DD0

Accessibility & contrast

On white

7.14
#7F389B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F389B
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F389B#FFFFFF#000000##FFFFFF
##7F389B1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14549E
Deuteranopia (green-blind)
#365A99
Tritanopia (blue-blind)
#7D4A64
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7f389b;
/* rgb */ color: rgb(127, 56, 155);
/* oklch */ color: oklch(48.0% 0.163 315.1);
Tailwind
colors: {
  custom: {
    50: '#a773b9',
    500: '#7f389b',
    950: '#000000',
  },
}
SCSS
$custom: #7f389b;
$custom-light: #a773b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f389b",
  "rgb": {
    "r": 127,
    "g": 56,
    "b": 155
  },
  "hsl": {
    "h": 283.03,
    "s": 46.919,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47974,
    "c": 0.1634,
    "h": 315.1
  },
  "luminance": 0.09707
}

Semantic roles & 50–950 ramp

primary
#7F389B
secondary
#89B975
accent
#D75177
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7F389B

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

Preview Lab → · Contrast checker → · Palette generator →

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