#7F2193#7F2193

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

Color values

HEX#7F2193
RGBrgb(127, 33, 147)
HSLhsl(289, 63%, 35%)
HSVhsv(289, 78%, 58%)
CMYKcmyk(13.6%, 77.6%, 0%, 42.4%)
CIE-LABlab(33.37, 54.76, -42.55)
CIE-LCHlch(33.37, 69.35, 322.15°)
OKLaboklab(44.98% 0.1414 -0.1194)
OKLCHoklch(44.98% 0.185 319.8)
XYZxyz(14.5621, 7.7071, 28.3187)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2193 #359321
analogous
#462193 #7F2193 #93216E
triadic
#7F2193 #937F21 #21937F
tetradic
#7F2193 #934621 #359321 #216E93
square
#7F2193 #934621 #359321 #216E93
split-complementary
#7F2193 #6E9321 #219346
monochromatic
#290B2F #541661 #7F2193 #AA2CC5 #C255D9

Accessibility & contrast

On white

8.26
#7F2193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2193
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2193#FFFFFF#000000##FFFFFF
##7F21931.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2193;
/* rgb */ color: rgb(127, 33, 147);
/* oklch */ color: oklch(45.0% 0.185 319.8);
Tailwind
colors: {
  custom: {
    50: '#a868b3',
    500: '#7f2193',
    950: '#000000',
  },
}
SCSS
$custom: #7f2193;
$custom-light: #a868b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2193",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 289.474,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44983,
    "c": 0.18505,
    "h": 319.8
  },
  "luminance": 0.07706
}

Semantic roles & 50–950 ramp

primary
#7F2193
secondary
#66BD53
accent
#E6415E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7F2193

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

Preview Lab → · Contrast checker → · Palette generator →

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