#7F2092#7F2092

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

Color values

HEX#7F2092
RGBrgb(127, 32, 146)
HSLhsl(290, 64%, 35%)
HSVhsv(290, 78%, 57%)
CMYKcmyk(13%, 78.1%, 0%, 42.7%)
CIE-LABlab(33.18, 54.91, -42.23)
CIE-LCHlch(33.18, 69.27, 322.44°)
OKLaboklab(44.83% 0.1424 -0.1185)
OKLCHoklch(44.83% 0.185 320.2)
XYZxyz(14.4566, 7.6211, 27.8981)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2092 #339220
analogous
#462092 #7F2092 #92206C
triadic
#7F2092 #927F20 #20927F
tetradic
#7F2092 #924620 #339220 #206C92
square
#7F2092 #924620 #339220 #206C92
split-complementary
#7F2092 #6C9220 #209246
monochromatic
#280A2E #531560 #7F2092 #AB2BC4 #C353D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2092#FFFFFF#000000##FFFFFF
##7F20921.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)
#004895
Deuteranopia (green-blind)
#2C518F
Tritanopia (blue-blind)
#7F3858
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7f2092;
/* rgb */ color: rgb(127, 32, 146);
/* oklch */ color: oklch(44.8% 0.185 320.2);
Tailwind
colors: {
  custom: {
    50: '#a867b3',
    500: '#7f2092',
    950: '#000000',
  },
}
SCSS
$custom: #7f2092;
$custom-light: #a867b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2092",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 290,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44831,
    "c": 0.18522,
    "h": 320.2
  },
  "luminance": 0.0762
}

Semantic roles & 50–950 ramp

primary
#7F2092
secondary
#63BD51
accent
#E7415C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7F2092

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

Preview Lab → · Contrast checker → · Palette generator →

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