#7F2192#7F2192

#7F2192 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.184 H 320.2°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7F2192
RGBrgb(127, 33, 146)
HSLhsl(290, 63%, 35%)
HSVhsv(290, 77%, 57%)
CMYKcmyk(13%, 77.4%, 0%, 42.7%)
CIE-LABlab(33.30, 54.57, -42.05)
CIE-LCHlch(33.30, 68.89, 322.39°)
OKLaboklab(44.91% 0.1415 -0.1179)
OKLCHoklch(44.91% 0.184 320.2)
XYZxyz(14.4839, 7.6758, 27.9072)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2192 #349221
analogous
#472192 #7F2192 #92216C
triadic
#7F2192 #927F21 #21927F
tetradic
#7F2192 #924721 #349221 #216C92
square
#7F2192 #924721 #349221 #216C92
split-complementary
#7F2192 #6C9221 #219247
monochromatic
#280A2E #541660 #7F2192 #AA2CC4 #C255D9

Accessibility & contrast

On white

8.28
#7F2192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7F2192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2192
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2192#FFFFFF#000000##FFFFFF
##7F21921.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#2C518F
Tritanopia (blue-blind)
#7F3859
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7f2192;
/* rgb */ color: rgb(127, 33, 146);
/* oklch */ color: oklch(44.9% 0.184 320.2);
Tailwind
colors: {
  custom: {
    50: '#a867b2',
    500: '#7f2192',
    950: '#000000',
  },
}
SCSS
$custom: #7f2192;
$custom-light: #a867b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2192",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 289.912,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44914,
    "c": 0.18419,
    "h": 320.2
  },
  "luminance": 0.07675
}

Semantic roles & 50–950 ramp

primary
#7F2192
secondary
#64BC53
accent
#E6425D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7F2192

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

Preview Lab → · Contrast checker → · Palette generator →

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