#7E439D#7E439D

#7E439D is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.5% C 0.148 H 312.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7E439D
RGBrgb(126, 67, 157)
HSLhsl(279, 40%, 44%)
HSVhsv(279, 57%, 62%)
CMYKcmyk(19.7%, 57.3%, 0%, 38.4%)
CIE-LABlab(39.39, 41.29, -39.00)
CIE-LCHlch(39.39, 56.80, 316.63°)
OKLaboklab(49.49% 0.1001 -0.1093)
OKLCHoklch(49.49% 0.148 312.5)
XYZxyz(16.6961, 10.8847, 33.1132)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E439D #629D43
analogous
#51439D #7E439D #9D438F
triadic
#7E439D #9D7E43 #439D7E
tetradic
#7E439D #9D5143 #629D43 #438F9D
square
#7E439D #9D5143 #629D43 #438F9D
split-complementary
#7E439D #8F9D43 #439D51
monochromatic
#391E47 #5C3172 #7E439D #9D61BC #B78CCE

Accessibility & contrast

On white

6.61
#7E439D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7E439D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E439D
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E439D#FFFFFF#000000##FFFFFF
##7E439D1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295AA0
Deuteranopia (green-blind)
#3E5E9B
Tritanopia (blue-blind)
#7B5369
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7e439d;
/* rgb */ color: rgb(126, 67, 157);
/* oklch */ color: oklch(49.5% 0.148 312.5);
Tailwind
colors: {
  custom: {
    50: '#a67aba',
    500: '#7e439d',
    950: '#000000',
  },
}
SCSS
$custom: #7e439d;
$custom-light: #a67aba;
$custom-dark: #000000;
JSON
{
  "hex": "#7e439d",
  "rgb": {
    "r": 126,
    "g": 67,
    "b": 157
  },
  "hsl": {
    "h": 279.333,
    "s": 40.179,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49494,
    "c": 0.1482,
    "h": 312.5
  },
  "luminance": 0.10884
}

Semantic roles & 50–950 ramp

primary
#7E439D
secondary
#95B983
accent
#D05881
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7E439D

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

Preview Lab → · Contrast checker → · Palette generator →

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