#7D4BAF#7D4BAF

#7D4BAF is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.7% C 0.156 H 304.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7D4BAF
RGBrgb(125, 75, 175)
HSLhsl(270, 40%, 49%)
HSVhsv(270, 57%, 69%)
CMYKcmyk(28.6%, 57.1%, 0%, 31.4%)
CIE-LABlab(41.98, 40.94, -45.59)
CIE-LCHlch(41.98, 61.28, 311.92°)
OKLaboklab(51.72% 0.0887 -0.1286)
OKLCHoklch(51.72% 0.156 304.6)
XYZxyz(18.7097, 12.4874, 41.9738)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4BAF #7DAF4B
analogous
#4B4BAF #7D4BAF #AF4BAF
triadic
#7D4BAF #AF7D4B #4BAF7D
tetradic
#7D4BAF #AF4B4B #7DAF4B #4BAFAF
square
#7D4BAF #AF4B4B #7DAF4B #4BAFAF
split-complementary
#7D4BAF #AFAF4B #4BAF4B
monochromatic
#402659 #5E3984 #7D4BAF #9C74C3 #BA9FD6

Accessibility & contrast

On white

6.00
#7D4BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7D4BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4BAF
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4BAF#FFFFFF#000000##FFFFFF
##7D4BAF1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2462B2
Deuteranopia (green-blind)
#3763AD
Tritanopia (blue-blind)
#745E76
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7d4baf;
/* rgb */ color: rgb(125, 75, 175);
/* oklch */ color: oklch(51.7% 0.156 304.6);
Tailwind
colors: {
  custom: {
    50: '#a67fc7',
    500: '#7d4baf',
    950: '#000000',
  },
}
SCSS
$custom: #7d4baf;
$custom-light: #a67fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4baf",
  "rgb": {
    "r": 125,
    "g": 75,
    "b": 175
  },
  "hsl": {
    "h": 270,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51715,
    "c": 0.15623,
    "h": 304.6
  },
  "luminance": 0.12487
}

Semantic roles & 50–950 ramp

primary
#7D4BAF
secondary
#ABC293
accent
#D05894
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7D4BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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