#7D4FAF#7D4FAF

#7D4FAF is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.3% C 0.150 H 303.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#7D4FAF
RGBrgb(125, 79, 175)
HSLhsl(269, 38%, 50%)
HSVhsv(269, 55%, 69%)
CMYKcmyk(28.6%, 54.9%, 0%, 31.4%)
CIE-LABlab(42.83, 38.70, -44.23)
CIE-LCHlch(42.83, 58.77, 311.19°)
OKLaboklab(52.34% 0.0834 -0.1246)
OKLCHoklch(52.34% 0.15 303.8)
XYZxyz(18.9896, 13.0471, 42.0671)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FAF #81AF4F
analogous
#4F51AF #7D4FAF #AD4FAF
triadic
#7D4FAF #AF7D4F #4FAF7D
tetradic
#7D4FAF #AF4F51 #81AF4F #4FAFAD
square
#7D4FAF #AF4F51 #81AF4F #4FAFAD
split-complementary
#7D4FAF #AFAD4F #51AF4F
monochromatic
#41295B #5F3C85 #7D4FAF #9C79C2 #BBA3D5

Accessibility & contrast

On white

5.82
#7D4FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7D4FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FAF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FAF#FFFFFF#000000##FFFFFF
##7D4FAF1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C64B2
Deuteranopia (green-blind)
#3C65AD
Tritanopia (blue-blind)
#746177
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7d4faf;
/* rgb */ color: rgb(125, 79, 175);
/* oklch */ color: oklch(52.3% 0.150 303.8);
Tailwind
colors: {
  custom: {
    50: '#a582c7',
    500: '#7d4faf',
    950: '#000000',
  },
}
SCSS
$custom: #7d4faf;
$custom-light: #a582c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4faf",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 268.75,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52343,
    "c": 0.14996,
    "h": 303.8
  },
  "luminance": 0.13047
}

Semantic roles & 50–950 ramp

primary
#7D4FAF
secondary
#AEC397
accent
#CE5A96
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7D4FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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