#7D4BDA#7D4BDA

#7D4BDA is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.7% C 0.207 H 294.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7D4BDA
RGBrgb(125, 75, 218)
HSLhsl(261, 66%, 57%)
HSVhsv(261, 66%, 85%)
CMYKcmyk(42.7%, 65.6%, 0%, 14.5%)
CIE-LABlab(44.88, 51.98, -65.88)
CIE-LCHlch(44.88, 83.91, 308.27°)
OKLaboklab(54.74% 0.0864 -0.1882)
OKLCHoklch(54.74% 0.207 294.6)
XYZxyz(23.6250, 14.4535, 67.8611)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4BDA #A8DA4B
analogous
#4B60DA #7D4BDA #C54BDA
triadic
#7D4BDA #DA7D4B #4BDA7D
tetradic
#7D4BDA #DA4B60 #A8DA4B #4BDAC5
square
#7D4BDA #DA4B60 #A8DA4B #4BDAC5
split-complementary
#7D4BDA #DAC54B #60DA4B
monochromatic
#441D8E #5D28C0 #7D4BDA #A27EE4 #C6B1EF

Accessibility & contrast

On white

5.40
#7D4BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7D4BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4BDA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4BDA#FFFFFF#000000##FFFFFF
##7D4BDA1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#646D8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d4bda;
/* rgb */ color: rgb(125, 75, 218);
/* oklch */ color: oklch(54.7% 0.207 294.6);
Tailwind
colors: {
  custom: {
    50: '#a980e6',
    500: '#7d4bda',
    950: '#000000',
  },
}
SCSS
$custom: #7d4bda;
$custom-light: #a980e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4bda",
  "rgb": {
    "r": 125,
    "g": 75,
    "b": 218
  },
  "hsl": {
    "h": 260.979,
    "s": 65.899,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5474,
    "c": 0.2071,
    "h": 294.6
  },
  "luminance": 0.14454
}

Semantic roles & 50–950 ramp

primary
#7D4BDA
secondary
#C9DDA4
accent
#E93FAD
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7D4BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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