#7F2094#7F2094

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

Color values

HEX#7F2094
RGBrgb(127, 32, 148)
HSLhsl(289, 64%, 35%)
HSVhsv(289, 78%, 58%)
CMYKcmyk(14.2%, 78.4%, 0%, 42%)
CIE-LABlab(33.32, 55.29, -43.24)
CIE-LCHlch(33.32, 70.19, 321.97°)
OKLaboklab(44.97% 0.1421 -0.1214)
OKLCHoklch(44.97% 0.187 319.5)
XYZxyz(14.6135, 7.6839, 28.7246)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2094 #359420
analogous
#452094 #7F2094 #94206F
triadic
#7F2094 #947F20 #20947F
tetradic
#7F2094 #944520 #359420 #206F94
square
#7F2094 #944520 #359420 #206F94
split-complementary
#7F2094 #6F9420 #209445
monochromatic
#290A2F #541562 #7F2094 #AA2BC6 #C254DA

Accessibility & contrast

On white

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

On black

2.54
#7F2094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7F2094#FFFFFF#000000##FFFFFF
##7F20941.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#2A5191
Tritanopia (blue-blind)
#7F3959
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7f2094;
/* rgb */ color: rgb(127, 32, 148);
/* oklch */ color: oklch(45.0% 0.187 319.5);
Tailwind
colors: {
  custom: {
    50: '#a867b4',
    500: '#7f2094',
    950: '#000000',
  },
}
SCSS
$custom: #7f2094;
$custom-light: #a867b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2094",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 289.138,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44969,
    "c": 0.18695,
    "h": 319.5
  },
  "luminance": 0.07683
}

Semantic roles & 50–950 ramp

primary
#7F2094
secondary
#66BE52
accent
#E7405F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7F2094

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

Preview Lab → · Contrast checker → · Palette generator →

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