#7F2394#7F2394

#7F2394 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.184 H 319.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#7F2394
RGBrgb(127, 35, 148)
HSLhsl(289, 62%, 36%)
HSVhsv(289, 76%, 58%)
CMYKcmyk(14.2%, 76.4%, 0%, 42%)
CIE-LABlab(33.67, 54.26, -42.67)
CIE-LCHlch(33.67, 69.03, 321.82°)
OKLaboklab(45.22% 0.1394 -0.1198)
OKLCHoklch(45.22% 0.184 319.3)
XYZxyz(14.6980, 7.8529, 28.7528)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2394 #389423
analogous
#472394 #7F2394 #942370
triadic
#7F2394 #947F23 #23947F
tetradic
#7F2394 #944723 #389423 #237094
square
#7F2394 #944723 #389423 #237094
split-complementary
#7F2394 #709423 #239447
monochromatic
#2A0C31 #551763 #7F2394 #A92FC5 #C05AD8

Accessibility & contrast

On white

8.17
#7F2394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7F2394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2394
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2394#FFFFFF#000000##FFFFFF
##7F23941.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#2C5291
Tritanopia (blue-blind)
#7F3A5A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7f2394;
/* rgb */ color: rgb(127, 35, 148);
/* oklch */ color: oklch(45.2% 0.184 319.3);
Tailwind
colors: {
  custom: {
    50: '#a868b4',
    500: '#7f2394',
    950: '#000000',
  },
}
SCSS
$custom: #7f2394;
$custom-light: #a868b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2394",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 288.85,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45223,
    "c": 0.1838,
    "h": 319.3
  },
  "luminance": 0.07852
}

Semantic roles & 50–950 ramp

primary
#7F2394
secondary
#69BC57
accent
#E54361
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7F2394

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

Preview Lab → · Contrast checker → · Palette generator →

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