#7E459C#7E459C

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

Color values

HEX#7E459C
RGBrgb(126, 69, 156)
HSLhsl(279, 39%, 44%)
HSVhsv(279, 56%, 61%)
CMYKcmyk(19.2%, 55.8%, 0%, 38.8%)
CIE-LABlab(39.74, 39.98, -37.85)
CIE-LCHlch(39.74, 55.05, 316.57°)
OKLaboklab(49.73% 0.0973 -0.1059)
OKLCHoklch(49.73% 0.144 312.6)
XYZxyz(16.7320, 11.0926, 32.7057)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E459C #639C45
analogous
#52459C #7E459C #9C458F
triadic
#7E459C #9C7E45 #459C7E
tetradic
#7E459C #9C5245 #639C45 #458F9C
square
#7E459C #9C5245 #639C45 #458F9C
split-complementary
#7E459C #8F9C45 #459C52
monochromatic
#391F47 #5C3272 #7E459C #9D64BA #B78ECD

Accessibility & contrast

On white

6.52
#7E459C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7E459C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E459C
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E459C#FFFFFF#000000##FFFFFF
##7E459C1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5B9F
Deuteranopia (green-blind)
#415F9A
Tritanopia (blue-blind)
#7B546A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7e459c;
/* rgb */ color: rgb(126, 69, 156);
/* oklch */ color: oklch(49.7% 0.144 312.6);
Tailwind
colors: {
  custom: {
    50: '#a67bb9',
    500: '#7e459c',
    950: '#000000',
  },
}
SCSS
$custom: #7e459c;
$custom-light: #a67bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e459c",
  "rgb": {
    "r": 126,
    "g": 69,
    "b": 156
  },
  "hsl": {
    "h": 279.31,
    "s": 38.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49733,
    "c": 0.14381,
    "h": 312.6
  },
  "luminance": 0.11092
}

Semantic roles & 50–950 ramp

primary
#7E459C
secondary
#96B984
accent
#CF5982
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #7E459C

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

Preview Lab → · Contrast checker → · Palette generator →

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