#7D459D#7D459D

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

Color values

HEX#7D459D
RGBrgb(125, 69, 157)
HSLhsl(278, 39%, 44%)
HSVhsv(278, 56%, 62%)
CMYKcmyk(20.4%, 56.1%, 0%, 38.4%)
CIE-LABlab(39.67, 39.94, -38.57)
CIE-LCHlch(39.67, 55.52, 316.00°)
OKLaboklab(49.67% 0.096 -0.108)
OKLCHoklch(49.67% 0.145 311.6)
XYZxyz(16.6703, 11.0509, 33.1466)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D459D #659D45
analogous
#51459D #7D459D #9D4591
triadic
#7D459D #9D7D45 #459D7D
tetradic
#7D459D #9D5145 #659D45 #45919D
square
#7D459D #9D5145 #659D45 #45919D
split-complementary
#7D459D #919D45 #459D51
monochromatic
#392048 #5B3272 #7D459D #9B64BB #B78FCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D459D#FFFFFF#000000##FFFFFF
##7D459D1.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)
#2C5BA0
Deuteranopia (green-blind)
#3F5F9B
Tritanopia (blue-blind)
#79546A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d459d;
/* rgb */ color: rgb(125, 69, 157);
/* oklch */ color: oklch(49.7% 0.145 311.6);
Tailwind
colors: {
  custom: {
    50: '#a57bba',
    500: '#7d459d',
    950: '#000000',
  },
}
SCSS
$custom: #7d459d;
$custom-light: #a57bba;
$custom-dark: #000000;
JSON
{
  "hex": "#7d459d",
  "rgb": {
    "r": 125,
    "g": 69,
    "b": 157
  },
  "hsl": {
    "h": 278.182,
    "s": 38.938,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49672,
    "c": 0.14456,
    "h": 311.6
  },
  "luminance": 0.11051
}

Semantic roles & 50–950 ramp

primary
#7D459D
secondary
#98B985
accent
#CF5984
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7D459D

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

Preview Lab → · Contrast checker → · Palette generator →

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