#7F2890#7F2890

#7F2890 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.4% C 0.174 H 320.6°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7F2890
RGBrgb(127, 40, 144)
HSLhsl(290, 57%, 36%)
HSVhsv(290, 72%, 56%)
CMYKcmyk(11.8%, 72.2%, 0%, 43.5%)
CIE-LABlab(34.07, 51.60, -39.57)
CIE-LCHlch(34.07, 65.03, 322.51°)
OKLaboklab(45.43% 0.1348 -0.1107)
OKLCHoklch(45.43% 0.174 320.6)
XYZxyz(14.5446, 8.0440, 27.1667)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2890 #399028
analogous
#4B2890 #7F2890 #90286D
triadic
#7F2890 #907F28 #28907F
tetradic
#7F2890 #904B28 #399028 #286D90
square
#7F2890 #904B28 #399028 #286D90
split-complementary
#7F2890 #6D9028 #28904B
monochromatic
#2B0D30 #551B60 #7F2890 #A935C0 #C060D3

Accessibility & contrast

On white

8.05
#7F2890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7F2890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2890
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2890#FFFFFF#000000##FFFFFF
##7F28901.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#33538E
Tritanopia (blue-blind)
#803B59
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7f2890;
/* rgb */ color: rgb(127, 40, 144);
/* oklch */ color: oklch(45.4% 0.174 320.6);
Tailwind
colors: {
  custom: {
    50: '#a76ab1',
    500: '#7f2890',
    950: '#000000',
  },
}
SCSS
$custom: #7f2890;
$custom-light: #a76ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2890",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 290.192,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45425,
    "c": 0.17444,
    "h": 320.6
  },
  "luminance": 0.08043
}

Semantic roles & 50–950 ramp

primary
#7F2890
secondary
#6BB85C
accent
#E04861
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7F2890

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

Preview Lab → · Contrast checker → · Palette generator →

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