#7E459D#7E459D

#7E459D is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.8% C 0.145 H 312.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7E459D
RGBrgb(126, 69, 157)
HSLhsl(279, 39%, 44%)
HSVhsv(279, 56%, 62%)
CMYKcmyk(19.7%, 56.1%, 0%, 38.4%)
CIE-LABlab(39.79, 40.21, -38.36)
CIE-LCHlch(39.79, 55.57, 316.35°)
OKLaboklab(49.79% 0.0973 -0.1074)
OKLCHoklch(49.79% 0.145 312.2)
XYZxyz(16.8170, 11.1266, 33.1535)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E459D #649D45
analogous
#52459D #7E459D #9D4590
triadic
#7E459D #9D7E45 #459D7E
tetradic
#7E459D #9D5245 #649D45 #45909D
square
#7E459D #9D5245 #649D45 #45909D
split-complementary
#7E459D #909D45 #459D52
monochromatic
#3A2048 #5C3272 #7E459D #9C64BB #B78FCE

Accessibility & contrast

On white

6.51
#7E459D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7E459D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E459D
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E459D#FFFFFF#000000##FFFFFF
##7E459D1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5BA0
Deuteranopia (green-blind)
#405F9B
Tritanopia (blue-blind)
#7B546A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7e459d;
/* rgb */ color: rgb(126, 69, 157);
/* oklch */ color: oklch(49.8% 0.145 312.2);
Tailwind
colors: {
  custom: {
    50: '#a67bba',
    500: '#7e459d',
    950: '#000000',
  },
}
SCSS
$custom: #7e459d;
$custom-light: #a67bba;
$custom-dark: #000000;
JSON
{
  "hex": "#7e459d",
  "rgb": {
    "r": 126,
    "g": 69,
    "b": 157
  },
  "hsl": {
    "h": 278.864,
    "s": 38.938,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49793,
    "c": 0.14496,
    "h": 312.2
  },
  "luminance": 0.11126
}

Semantic roles & 50–950 ramp

primary
#7E459D
secondary
#97B985
accent
#CF5982
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7E459D

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

Preview Lab → · Contrast checker → · Palette generator →

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