#7E39AF#7E39AF

#7E39AF is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.3% C 0.183 H 307.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7E39AF
RGBrgb(126, 57, 175)
HSLhsl(275, 51%, 45%)
HSVhsv(275, 67%, 69%)
CMYKcmyk(28%, 67.4%, 0%, 31.4%)
CIE-LABlab(38.65, 50.52, -50.93)
CIE-LCHlch(38.65, 71.74, 314.77°)
OKLaboklab(49.33% 0.1121 -0.1442)
OKLCHoklch(49.33% 0.183 307.9)
XYZxyz(17.8036, 10.4573, 41.6297)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E39AF #6AAF39
analogous
#4339AF #7E39AF #AF39A5
triadic
#7E39AF #AF7E39 #39AF7E
tetradic
#7E39AF #AF4339 #6AAF39 #39A5AF
square
#7E39AF #AF4339 #6AAF39 #39A5AF
split-complementary
#7E39AF #A5AF39 #39AF43
monochromatic
#3C1B53 #5D2A81 #7E39AF #9C5BCA #B88AD9

Accessibility & contrast

On white

6.79
#7E39AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7E39AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E39AF
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E39AF#FFFFFF#000000##FFFFFF
##7E39AF1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#205CAC
Tritanopia (blue-blind)
#76526F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7e39af;
/* rgb */ color: rgb(126, 57, 175);
/* oklch */ color: oklch(49.3% 0.183 307.9);
Tailwind
colors: {
  custom: {
    50: '#a774c8',
    500: '#7e39af',
    950: '#000000',
  },
}
SCSS
$custom: #7e39af;
$custom-light: #a774c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e39af",
  "rgb": {
    "r": 126,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 275.085,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49326,
    "c": 0.18266,
    "h": 307.9
  },
  "luminance": 0.10457
}

Semantic roles & 50–950 ramp

primary
#7E39AF
secondary
#9CC381
accent
#DA4D88
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7E39AF

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

Preview Lab → · Contrast checker → · Palette generator →

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