#7F358F#7F358F

#7F358F is a mid, vivid purple. Relative luminance 0.090; OKLCH L 46.8% C 0.156 H 320.1°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#7F358F
RGBrgb(127, 53, 143)
HSLhsl(289, 46%, 38%)
HSVhsv(289, 63%, 56%)
CMYKcmyk(11.2%, 62.9%, 0%, 43.9%)
CIE-LABlab(36.07, 45.68, -35.79)
CIE-LCHlch(36.07, 58.03, 321.92°)
OKLaboklab(46.84% 0.1195 -0.0998)
OKLCHoklch(46.84% 0.156 320.1)
XYZxyz(14.9828, 9.0421, 26.9374)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F358F #458F35
analogous
#52358F #7F358F #8F3572
triadic
#7F358F #8F7F35 #358F7F
tetradic
#7F358F #8F5235 #458F35 #35728F
square
#7F358F #8F5235 #458F35 #35728F
split-complementary
#7F358F #728F35 #358F52
monochromatic
#301436 #572462 #7F358F #A647BB #BC73CB

Accessibility & contrast

On white

7.48
#7F358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7F358F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F358F
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F358F#FFFFFF#000000##FFFFFF
##7F358F1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5092
Deuteranopia (green-blind)
#3D578D
Tritanopia (blue-blind)
#80445D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7f358f;
/* rgb */ color: rgb(127, 53, 143);
/* oklch */ color: oklch(46.8% 0.156 320.1);
Tailwind
colors: {
  custom: {
    50: '#a771b0',
    500: '#7f358f',
    950: '#000000',
  },
}
SCSS
$custom: #7f358f;
$custom-light: #a771b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f358f",
  "rgb": {
    "r": 127,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 289.333,
    "s": 45.918,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46839,
    "c": 0.15567,
    "h": 320.1
  },
  "luminance": 0.09041
}

Semantic roles & 50–950 ramp

primary
#7F358F
secondary
#79B46C
accent
#D6526A
background
#FAF7FA
surface
#F4EDF5
border
#CEC8CF
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7F358F

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

Preview Lab → · Contrast checker → · Palette generator →

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