#7F2190#7F2190

#7F2190 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.182 H 320.9°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#7F2190
RGBrgb(127, 33, 144)
HSLhsl(291, 63%, 35%)
HSVhsv(291, 77%, 56%)
CMYKcmyk(11.8%, 77.1%, 0%, 43.5%)
CIE-LABlab(33.17, 54.19, -41.03)
CIE-LCHlch(33.17, 67.97, 322.87°)
OKLaboklab(44.78% 0.1417 -0.1149)
OKLCHoklch(44.78% 0.182 320.9)
XYZxyz(14.3297, 7.6141, 27.0950)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2190 #329021
analogous
#482190 #7F2190 #90216A
triadic
#7F2190 #907F21 #21907F
tetradic
#7F2190 #904821 #329021 #216A90
square
#7F2190 #904821 #329021 #216A90
split-complementary
#7F2190 #6A9021 #219048
monochromatic
#270A2C #53165E #7F2190 #AB2CC2 #C454D8

Accessibility & contrast

On white

8.32
#7F2190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7F2190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2190
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2190#FFFFFF#000000##FFFFFF
##7F21901.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#2E518D
Tritanopia (blue-blind)
#803757
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7f2190;
/* rgb */ color: rgb(127, 33, 144);
/* oklch */ color: oklch(44.8% 0.182 320.9);
Tailwind
colors: {
  custom: {
    50: '#a867b1',
    500: '#7f2190',
    950: '#000000',
  },
}
SCSS
$custom: #7f2190;
$custom-light: #a867b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2190",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 290.811,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44778,
    "c": 0.18245,
    "h": 320.9
  },
  "luminance": 0.07613
}

Semantic roles & 50–950 ramp

primary
#7F2190
secondary
#62BB51
accent
#E6425B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7F2190

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

Preview Lab → · Contrast checker → · Palette generator →

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