#7E3383#7E3383

#7E3383 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.7% C 0.147 H 325.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#7E3383
RGBrgb(126, 51, 131)
HSLhsl(296, 44%, 36%)
HSVhsv(296, 61%, 51%)
CMYKcmyk(3.8%, 61.1%, 0%, 48.6%)
CIE-LABlab(34.89, 43.98, -30.27)
CIE-LCHlch(34.89, 53.39, 325.46°)
OKLaboklab(45.73% 0.1202 -0.0838)
OKLCHoklch(45.73% 0.147 325.1)
XYZxyz(13.8844, 8.4428, 22.3666)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3383 #388333
analogous
#563383 #7E3383 #833360
triadic
#7E3383 #837E33 #33837E
tetradic
#7E3383 #835633 #388333 #336083
square
#7E3383 #835633 #388333 #336083
split-complementary
#7E3383 #608333 #338356
monochromatic
#29112B #542257 #7E3383 #A844AF #C06BC5

Accessibility & contrast

On white

7.81
#7E3383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7E3383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E3383
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3383#FFFFFF#000000##FFFFFF
##7E33831.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274C85
Deuteranopia (green-blind)
#415581
Tritanopia (blue-blind)
#813E56
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7e3383;
/* rgb */ color: rgb(126, 51, 131);
/* oklch */ color: oklch(45.7% 0.147 325.1);
Tailwind
colors: {
  custom: {
    50: '#a670a7',
    500: '#7e3383',
    950: '#000000',
  },
}
SCSS
$custom: #7e3383;
$custom-light: #a670a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3383",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 131
  },
  "hsl": {
    "h": 296.25,
    "s": 43.956,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45734,
    "c": 0.14654,
    "h": 325.1
  },
  "luminance": 0.08442
}

Semantic roles & 50–950 ramp

primary
#7E3383
secondary
#69AD65
accent
#D4545C
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #7E3383

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

Preview Lab → · Contrast checker → · Palette generator →

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