#7F359C#7F359C

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

Color values

HEX#7F359C
RGBrgb(127, 53, 156)
HSLhsl(283, 49%, 41%)
HSVhsv(283, 66%, 61%)
CMYKcmyk(18.6%, 66%, 0%, 38.8%)
CIE-LABlab(36.85, 48.41, -42.43)
CIE-LCHlch(36.85, 64.37, 318.76°)
OKLaboklab(47.66% 0.1194 -0.1192)
OKLCHoklch(47.66% 0.169 315.1)
XYZxyz(16.0253, 9.4591, 32.4277)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F359C #529C35
analogous
#4B359C #7F359C #9C3585
triadic
#7F359C #9C7F35 #359C7F
tetradic
#7F359C #9C4B35 #529C35 #35859C
square
#7F359C #9C4B35 #529C35 #35859C
split-complementary
#7F359C #859C35 #359C4B
monochromatic
#351641 #5A256E #7F359C #A14CC2 #B97AD2

Accessibility & contrast

On white

7.26
#7F359C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7F359C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F359C
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F359C#FFFFFF#000000##FFFFFF
##7F359C1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06529F
Deuteranopia (green-blind)
#33599A
Tritanopia (blue-blind)
#7D4864
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7f359c;
/* rgb */ color: rgb(127, 53, 156);
/* oklch */ color: oklch(47.7% 0.169 315.1);
Tailwind
colors: {
  custom: {
    50: '#a772ba',
    500: '#7f359c',
    950: '#000000',
  },
}
SCSS
$custom: #7f359c;
$custom-light: #a772ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7f359c",
  "rgb": {
    "r": 127,
    "g": 53,
    "b": 156
  },
  "hsl": {
    "h": 283.107,
    "s": 49.282,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47663,
    "c": 0.16874,
    "h": 315.1
  },
  "luminance": 0.09459
}

Semantic roles & 50–950 ramp

primary
#7F359C
secondary
#87BA72
accent
#D94F76
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7F359C

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

Preview Lab → · Contrast checker → · Palette generator →

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