#7F2F93#7F2F93

#7F2F93 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.4% C 0.168 H 319.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#7F2F93
RGBrgb(127, 47, 147)
HSLhsl(288, 52%, 38%)
HSVhsv(288, 68%, 58%)
CMYKcmyk(13.6%, 68%, 0%, 42.4%)
CIE-LABlab(35.31, 49.26, -39.44)
CIE-LCHlch(35.31, 63.11, 321.32°)
OKLaboklab(46.37% 0.1269 -0.1104)
OKLCHoklch(46.37% 0.168 319)
XYZxyz(15.0347, 8.6523, 28.4762)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2F93 #43932F
analogous
#4D2F93 #7F2F93 #932F75
triadic
#7F2F93 #937F2F #2F937F
tetradic
#7F2F93 #934D2F #43932F #2F7593
square
#7F2F93 #934D2F #43932F #2F7593
split-complementary
#7F2F93 #75932F #2F934D
monochromatic
#2F1136 #572065 #7F2F93 #A73EC1 #BC6CD0

Accessibility & contrast

On white

7.69
#7F2F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7F2F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2F93
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2F93#FFFFFF#000000##FFFFFF
##7F2F931.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084E96
Deuteranopia (green-blind)
#355691
Tritanopia (blue-blind)
#7F415D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7f2f93;
/* rgb */ color: rgb(127, 47, 147);
/* oklch */ color: oklch(46.4% 0.168 319.0);
Tailwind
colors: {
  custom: {
    50: '#a76eb3',
    500: '#7f2f93',
    950: '#000000',
  },
}
SCSS
$custom: #7f2f93;
$custom-light: #a76eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2f93",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 288,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46368,
    "c": 0.16817,
    "h": 319
  },
  "luminance": 0.08652
}

Semantic roles & 50–950 ramp

primary
#7F2F93
secondary
#77B766
accent
#DB4D69
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7F2F93

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

Preview Lab → · Contrast checker → · Palette generator →

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