#7F359A#7F359A

#7F359A is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.5% C 0.167 H 315.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#7F359A
RGBrgb(127, 53, 154)
HSLhsl(284, 49%, 41%)
HSVhsv(284, 66%, 60%)
CMYKcmyk(17.5%, 65.6%, 0%, 39.6%)
CIE-LABlab(36.73, 47.98, -41.43)
CIE-LCHlch(36.73, 63.39, 319.19°)
OKLaboklab(47.53% 0.1195 -0.1162)
OKLCHoklch(47.53% 0.167 315.8)
XYZxyz(15.8573, 9.3919, 31.5431)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F359A #509A35
analogous
#4C359A #7F359A #9A3582
triadic
#7F359A #9A7F35 #359A7F
tetradic
#7F359A #9A4C35 #509A35 #35829A
square
#7F359A #9A4C35 #509A35 #35829A
split-complementary
#7F359A #829A35 #359A4C
monochromatic
#34163F #59256C #7F359A #A24BC1 #B979D1

Accessibility & contrast

On white

7.30
#7F359A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7F359A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F359A
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F359A#FFFFFF#000000##FFFFFF
##7F359A1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C529D
Deuteranopia (green-blind)
#345898
Tritanopia (blue-blind)
#7D4863
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7f359a;
/* rgb */ color: rgb(127, 53, 154);
/* oklch */ color: oklch(47.5% 0.167 315.8);
Tailwind
colors: {
  custom: {
    50: '#a772b8',
    500: '#7f359a',
    950: '#000000',
  },
}
SCSS
$custom: #7f359a;
$custom-light: #a772b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f359a",
  "rgb": {
    "r": 127,
    "g": 53,
    "b": 154
  },
  "hsl": {
    "h": 283.96,
    "s": 48.792,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47532,
    "c": 0.16671,
    "h": 315.8
  },
  "luminance": 0.09391
}

Semantic roles & 50–950 ramp

primary
#7F359A
secondary
#85B971
accent
#D84F74
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7F359A

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

Preview Lab → · Contrast checker → · Palette generator →

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