#7F358E#7F358E

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

Color values

HEX#7F358E
RGBrgb(127, 53, 142)
HSLhsl(290, 46%, 38%)
HSVhsv(290, 63%, 56%)
CMYKcmyk(10.6%, 62.7%, 0%, 44.3%)
CIE-LABlab(36.01, 45.48, -35.27)
CIE-LCHlch(36.01, 57.55, 322.21°)
OKLaboklab(46.78% 0.1195 -0.0983)
OKLCHoklch(46.78% 0.155 320.6)
XYZxyz(14.9074, 9.0119, 26.5402)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F358E #448E35
analogous
#52358E #7F358E #8E3570
triadic
#7F358E #8E7F35 #358E7F
tetradic
#7F358E #8E5235 #448E35 #35708E
square
#7F358E #8E5235 #448E35 #35708E
split-complementary
#7F358E #708E35 #358E52
monochromatic
#2F1435 #572461 #7F358E #A646BA #BC73CB

Accessibility & contrast

On white

7.49
#7F358E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7F358E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F358E
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F358E#FFFFFF#000000##FFFFFF
##7F358E1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204F91
Deuteranopia (green-blind)
#3D578C
Tritanopia (blue-blind)
#80435C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7f358e;
/* rgb */ color: rgb(127, 53, 142);
/* oklch */ color: oklch(46.8% 0.155 320.6);
Tailwind
colors: {
  custom: {
    50: '#a771af',
    500: '#7f358e',
    950: '#000000',
  },
}
SCSS
$custom: #7f358e;
$custom-light: #a771af;
$custom-dark: #000000;
JSON
{
  "hex": "#7f358e",
  "rgb": {
    "r": 127,
    "g": 53,
    "b": 142
  },
  "hsl": {
    "h": 289.888,
    "s": 45.641,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46778,
    "c": 0.15469,
    "h": 320.6
  },
  "luminance": 0.09011
}

Semantic roles & 50–950 ramp

primary
#7F358E
secondary
#78B36C
accent
#D55269
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7F358E

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

Preview Lab → · Contrast checker → · Palette generator →

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