#7F2C90#7F2C90

#7F2C90 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.8% C 0.169 H 320.4°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#7F2C90
RGBrgb(127, 44, 144)
HSLhsl(290, 53%, 37%)
HSVhsv(290, 69%, 56%)
CMYKcmyk(11.8%, 69.4%, 0%, 43.5%)
CIE-LABlab(34.66, 49.96, -38.64)
CIE-LCHlch(34.66, 63.16, 322.28°)
OKLaboklab(45.84% 0.1304 -0.108)
OKLCHoklch(45.84% 0.169 320.4)
XYZxyz(14.6865, 8.3277, 27.2140)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2C90 #3D902C
analogous
#4D2C90 #7F2C90 #902C6F
triadic
#7F2C90 #907F2C #2C907F
tetradic
#7F2C90 #904D2C #3D902C #2C6F90
square
#7F2C90 #904D2C #3D902C #2C6F90
split-complementary
#7F2C90 #6F902C #2C904D
monochromatic
#2C0F32 #561E61 #7F2C90 #A83ABF #BE66D0

Accessibility & contrast

On white

7.88
#7F2C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7F2C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2C90
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2C90#FFFFFF#000000##FFFFFF
##7F2C901.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064C93
Deuteranopia (green-blind)
#35548E
Tritanopia (blue-blind)
#803E5A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7f2c90;
/* rgb */ color: rgb(127, 44, 144);
/* oklch */ color: oklch(45.8% 0.169 320.4);
Tailwind
colors: {
  custom: {
    50: '#a76cb1',
    500: '#7f2c90',
    950: '#000000',
  },
}
SCSS
$custom: #7f2c90;
$custom-light: #a76cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2c90",
  "rgb": {
    "r": 127,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 289.8,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45841,
    "c": 0.16935,
    "h": 320.4
  },
  "luminance": 0.08327
}

Semantic roles & 50–950 ramp

primary
#7F2C90
secondary
#70B761
accent
#DD4B64
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7F2C90

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

Preview Lab → · Contrast checker → · Palette generator →

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