#7F378F#7F378F

#7F378F is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.1% C 0.153 H 320.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7F378F
RGBrgb(127, 55, 143)
HSLhsl(289, 44%, 39%)
HSVhsv(289, 62%, 56%)
CMYKcmyk(11.2%, 61.5%, 0%, 43.9%)
CIE-LABlab(36.42, 44.71, -35.22)
CIE-LCHlch(36.42, 56.92, 321.77°)
OKLaboklab(47.1% 0.1169 -0.0981)
OKLCHoklch(47.1% 0.153 320)
XYZxyz(15.0759, 9.2283, 26.9684)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F378F #478F37
analogous
#53378F #7F378F #8F3773
triadic
#7F378F #8F7F37 #378F7F
tetradic
#7F378F #8F5337 #478F37 #37738F
square
#7F378F #8F5337 #478F37 #37738F
split-complementary
#7F378F #738F37 #378F53
monochromatic
#301537 #582663 #7F378F #A54AB9 #BB76CA

Accessibility & contrast

On white

7.38
#7F378F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7F378F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F378F
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F378F#FFFFFF#000000##FFFFFF
##7F378F1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225192
Deuteranopia (green-blind)
#3E588D
Tritanopia (blue-blind)
#80455E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7f378f;
/* rgb */ color: rgb(127, 55, 143);
/* oklch */ color: oklch(47.1% 0.153 320.0);
Tailwind
colors: {
  custom: {
    50: '#a772b0',
    500: '#7f378f',
    950: '#000000',
  },
}
SCSS
$custom: #7f378f;
$custom-light: #a772b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f378f",
  "rgb": {
    "r": 127,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 289.091,
    "s": 44.444,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47097,
    "c": 0.15263,
    "h": 320
  },
  "luminance": 0.09228
}

Semantic roles & 50–950 ramp

primary
#7F378F
secondary
#7BB36F
accent
#D4546B
background
#FAF7FA
surface
#F4EDF5
border
#CEC8CF
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7F378F

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

Preview Lab → · Contrast checker → · Palette generator →

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