#7F2194#7F2194

#7F2194 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.186 H 319.4°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#7F2194
RGBrgb(127, 33, 148)
HSLhsl(289, 64%, 35%)
HSVhsv(289, 78%, 58%)
CMYKcmyk(14.2%, 77.7%, 0%, 42%)
CIE-LABlab(33.43, 54.96, -43.06)
CIE-LCHlch(33.43, 69.81, 321.92°)
OKLaboklab(45.05% 0.1413 -0.1209)
OKLCHoklch(45.05% 0.186 319.4)
XYZxyz(14.6409, 7.7386, 28.7337)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2194 #369421
analogous
#452194 #7F2194 #942170
triadic
#7F2194 #947F21 #21947F
tetradic
#7F2194 #944521 #369421 #217094
square
#7F2194 #944521 #369421 #217094
split-complementary
#7F2194 #709421 #219445
monochromatic
#290B30 #541662 #7F2194 #AA2CC6 #C156D9

Accessibility & contrast

On white

8.24
#7F2194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7F2194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2194
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2194#FFFFFF#000000##FFFFFF
##7F21941.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#2A5291
Tritanopia (blue-blind)
#7F395A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7f2194;
/* rgb */ color: rgb(127, 33, 148);
/* oklch */ color: oklch(45.1% 0.186 319.4);
Tailwind
colors: {
  custom: {
    50: '#a868b4',
    500: '#7f2194',
    950: '#000000',
  },
}
SCSS
$custom: #7f2194;
$custom-light: #a868b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2194",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 289.043,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45052,
    "c": 0.18593,
    "h": 319.4
  },
  "luminance": 0.07738
}

Semantic roles & 50–950 ramp

primary
#7F2194
secondary
#67BD54
accent
#E7415F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7F2194

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

Preview Lab → · Contrast checker → · Palette generator →

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