#7F359D#7F359D

#7F359D is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.7% C 0.170 H 314.7°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#7F359D
RGBrgb(127, 53, 157)
HSLhsl(283, 50%, 41%)
HSVhsv(283, 66%, 62%)
CMYKcmyk(19.1%, 66.2%, 0%, 38.4%)
CIE-LABlab(36.92, 48.62, -42.94)
CIE-LCHlch(36.92, 64.87, 318.55°)
OKLaboklab(47.73% 0.1194 -0.1207)
OKLCHoklch(47.73% 0.17 314.7)
XYZxyz(16.1103, 9.4931, 32.8755)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F359D #539D35
analogous
#4B359D #7F359D #9D3587
triadic
#7F359D #9D7F35 #359D7F
tetradic
#7F359D #9D4B35 #539D35 #35879D
square
#7F359D #9D4B35 #539D35 #35879D
split-complementary
#7F359D #879D35 #359D4B
monochromatic
#351641 #5A266F #7F359D #A14CC3 #B97AD2

Accessibility & contrast

On white

7.24
#7F359D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7F359D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F359D
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F359D#FFFFFF#000000##FFFFFF
##7F359D1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0253A0
Deuteranopia (green-blind)
#32599B
Tritanopia (blue-blind)
#7D4964
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7f359d;
/* rgb */ color: rgb(127, 53, 157);
/* oklch */ color: oklch(47.7% 0.170 314.7);
Tailwind
colors: {
  custom: {
    50: '#a772ba',
    500: '#7f359d',
    950: '#000000',
  },
}
SCSS
$custom: #7f359d;
$custom-light: #a772ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7f359d",
  "rgb": {
    "r": 127,
    "g": 53,
    "b": 157
  },
  "hsl": {
    "h": 282.692,
    "s": 49.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47729,
    "c": 0.16976,
    "h": 314.7
  },
  "luminance": 0.09493
}

Semantic roles & 50–950 ramp

primary
#7F359D
secondary
#88BB73
accent
#D94F77
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7F359D

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

Preview Lab → · Contrast checker → · Palette generator →

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