#7F2392#7F2392

#7F2392 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.182 H 320.1°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#7F2392
RGBrgb(127, 35, 146)
HSLhsl(290, 61%, 35%)
HSVhsv(290, 76%, 57%)
CMYKcmyk(13%, 76%, 0%, 42.7%)
CIE-LABlab(33.54, 53.87, -41.65)
CIE-LCHlch(33.54, 68.10, 322.29°)
OKLaboklab(45.09% 0.1396 -0.1168)
OKLCHoklch(45.09% 0.182 320.1)
XYZxyz(14.5411, 7.7902, 27.9263)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2392 #369223
analogous
#482392 #7F2392 #92236D
triadic
#7F2392 #927F23 #23927F
tetradic
#7F2392 #924823 #369223 #236D92
square
#7F2392 #924823 #369223 #236D92
split-complementary
#7F2392 #6D9223 #239248
monochromatic
#290B2F #541761 #7F2392 #AA2FC3 #C158D7

Accessibility & contrast

On white

8.21
#7F2392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7F2392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2392
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2392#FFFFFF#000000##FFFFFF
##7F23921.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004995
Deuteranopia (green-blind)
#2E528F
Tritanopia (blue-blind)
#7F3959
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7f2392;
/* rgb */ color: rgb(127, 35, 146);
/* oklch */ color: oklch(45.1% 0.182 320.1);
Tailwind
colors: {
  custom: {
    50: '#a868b2',
    500: '#7f2392',
    950: '#000000',
  },
}
SCSS
$custom: #7f2392;
$custom-light: #a868b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2392",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 289.73,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45087,
    "c": 0.18204,
    "h": 320.1
  },
  "luminance": 0.07789
}

Semantic roles & 50–950 ramp

primary
#7F2392
secondary
#67BB55
accent
#E4435F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7F2392

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

Preview Lab → · Contrast checker → · Palette generator →

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