#7F2090#7F2090

#7F2090 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.184 H 321.0°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#7F2090
RGBrgb(127, 32, 144)
HSLhsl(291, 64%, 35%)
HSVhsv(291, 78%, 56%)
CMYKcmyk(11.8%, 77.8%, 0%, 43.5%)
CIE-LABlab(33.05, 54.53, -41.22)
CIE-LCHlch(33.05, 68.36, 322.92°)
OKLaboklab(44.69% 0.1426 -0.1155)
OKLCHoklch(44.69% 0.184 321)
XYZxyz(14.3024, 7.5594, 27.0859)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2090 #319020
analogous
#472090 #7F2090 #902069
triadic
#7F2090 #907F20 #20907F
tetradic
#7F2090 #904720 #319020 #206990
square
#7F2090 #904720 #319020 #206990
split-complementary
#7F2090 #699020 #209047
monochromatic
#270A2C #53155E #7F2090 #AB2BC2 #C452D9

Accessibility & contrast

On white

8.36
#7F2090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7F2090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2090
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2090#FFFFFF#000000##FFFFFF
##7F20901.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2090;
/* rgb */ color: rgb(127, 32, 144);
/* oklch */ color: oklch(44.7% 0.184 321.0);
Tailwind
colors: {
  custom: {
    50: '#a867b1',
    500: '#7f2090',
    950: '#000000',
  },
}
SCSS
$custom: #7f2090;
$custom-light: #a867b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2090",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 290.893,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44694,
    "c": 0.18351,
    "h": 321
  },
  "luminance": 0.07559
}

Semantic roles & 50–950 ramp

primary
#7F2090
secondary
#60BC50
accent
#E7415A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7F2090

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

Preview Lab → · Contrast checker → · Palette generator →

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