#7E459B#7E459B

#7E459B is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.7% C 0.143 H 312.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7E459B
RGBrgb(126, 69, 155)
HSLhsl(280, 38%, 44%)
HSVhsv(280, 55%, 61%)
CMYKcmyk(18.7%, 55.5%, 0%, 39.2%)
CIE-LABlab(39.68, 39.76, -37.33)
CIE-LCHlch(39.68, 54.54, 316.80°)
OKLaboklab(49.67% 0.0972 -0.1044)
OKLCHoklch(49.67% 0.143 312.9)
XYZxyz(16.6477, 11.0588, 32.2616)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E459B #629B45
analogous
#53459B #7E459B #9B458D
triadic
#7E459B #9B7E45 #459B7E
tetradic
#7E459B #9B5345 #629B45 #458D9B
square
#7E459B #9B5345 #629B45 #458D9B
split-complementary
#7E459B #8D9B45 #459B53
monochromatic
#391F46 #5C3271 #7E459B #9D63BA #B78ECD

Accessibility & contrast

On white

6.54
#7E459B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7E459B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E459B
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E459B#FFFFFF#000000##FFFFFF
##7E459B1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5A9E
Deuteranopia (green-blind)
#415F99
Tritanopia (blue-blind)
#7B5369
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7e459b;
/* rgb */ color: rgb(126, 69, 155);
/* oklch */ color: oklch(49.7% 0.143 312.9);
Tailwind
colors: {
  custom: {
    50: '#a67bb9',
    500: '#7e459b',
    950: '#000000',
  },
}
SCSS
$custom: #7e459b;
$custom-light: #a67bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e459b",
  "rgb": {
    "r": 126,
    "g": 69,
    "b": 155
  },
  "hsl": {
    "h": 279.767,
    "s": 38.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49673,
    "c": 0.14267,
    "h": 312.9
  },
  "luminance": 0.11058
}

Semantic roles & 50–950 ramp

primary
#7E459B
secondary
#95B884
accent
#CE5981
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #7E459B

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

Preview Lab → · Contrast checker → · Palette generator →

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