#7F368F#7F368F

#7F368F is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.0% C 0.154 H 320.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#7F368F
RGBrgb(127, 54, 143)
HSLhsl(289, 45%, 39%)
HSVhsv(289, 62%, 56%)
CMYKcmyk(11.2%, 62.2%, 0%, 43.9%)
CIE-LABlab(36.24, 45.20, -35.51)
CIE-LCHlch(36.24, 57.48, 321.85°)
OKLaboklab(46.97% 0.1182 -0.099)
OKLCHoklch(46.97% 0.154 320.1)
XYZxyz(15.0289, 9.1342, 26.9527)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F368F #468F36
analogous
#52368F #7F368F #8F3672
triadic
#7F368F #8F7F36 #368F7F
tetradic
#7F368F #8F5236 #468F36 #36728F
square
#7F368F #8F5236 #468F36 #36728F
split-complementary
#7F368F #728F36 #368F52
monochromatic
#301436 #582563 #7F368F #A648BA #BB75CB

Accessibility & contrast

On white

7.43
#7F368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7F368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F368F
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F368F#FFFFFF#000000##FFFFFF
##7F368F1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215092
Deuteranopia (green-blind)
#3D588D
Tritanopia (blue-blind)
#80445D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7f368f;
/* rgb */ color: rgb(127, 54, 143);
/* oklch */ color: oklch(47.0% 0.154 320.1);
Tailwind
colors: {
  custom: {
    50: '#a772b0',
    500: '#7f368f',
    950: '#000000',
  },
}
SCSS
$custom: #7f368f;
$custom-light: #a772b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f368f",
  "rgb": {
    "r": 127,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 289.213,
    "s": 45.178,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46967,
    "c": 0.15416,
    "h": 320.1
  },
  "luminance": 0.09134
}

Semantic roles & 50–950 ramp

primary
#7F368F
secondary
#7AB36D
accent
#D5536A
background
#FAF7FA
surface
#F4EDF5
border
#CEC8CF
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7F368F

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

Preview Lab → · Contrast checker → · Palette generator →

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