#7F3293#7F3293

#7F3293 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.7% C 0.164 H 318.7°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7F3293
RGBrgb(127, 50, 147)
HSLhsl(288, 49%, 39%)
HSVhsv(288, 66%, 58%)
CMYKcmyk(13.6%, 66%, 0%, 42.4%)
CIE-LABlab(35.79, 47.91, -38.67)
CIE-LCHlch(35.79, 61.57, 321.10°)
OKLaboklab(46.72% 0.1233 -0.1082)
OKLCHoklch(46.72% 0.164 318.7)
XYZxyz(15.1588, 8.9005, 28.5176)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3293 #469332
analogous
#4E3293 #7F3293 #933276
triadic
#7F3293 #937F32 #32937F
tetradic
#7F3293 #934E32 #469332 #327693
square
#7F3293 #934E32 #469332 #327693
split-complementary
#7F3293 #769332 #32934E
monochromatic
#301338 #582265 #7F3293 #A643BF #BB71CF

Accessibility & contrast

On white

7.55
#7F3293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7F3293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F3293
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3293#FFFFFF#000000##FFFFFF
##7F32931.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124F96
Deuteranopia (green-blind)
#385791
Tritanopia (blue-blind)
#7F435E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7f3293;
/* rgb */ color: rgb(127, 50, 147);
/* oklch */ color: oklch(46.7% 0.164 318.7);
Tailwind
colors: {
  custom: {
    50: '#a770b3',
    500: '#7f3293',
    950: '#000000',
  },
}
SCSS
$custom: #7f3293;
$custom-light: #a770b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3293",
  "rgb": {
    "r": 127,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 287.629,
    "s": 49.239,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46718,
    "c": 0.164,
    "h": 318.7
  },
  "luminance": 0.089
}

Semantic roles & 50–950 ramp

primary
#7F3293
secondary
#7AB76A
accent
#D94F6B
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7F3293

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

Preview Lab → · Contrast checker → · Palette generator →

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