#7D4BD0#7D4BD0

#7D4BD0 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.0% C 0.195 H 296.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7D4BD0
RGBrgb(125, 75, 208)
HSLhsl(263, 59%, 55%)
HSVhsv(263, 64%, 82%)
CMYKcmyk(39.9%, 63.9%, 0%, 18.4%)
CIE-LABlab(44.16, 49.35, -61.32)
CIE-LCHlch(44.16, 78.71, 308.83°)
OKLaboklab(53.99% 0.0874 -0.1748)
OKLCHoklch(53.99% 0.195 296.6)
XYZxyz(22.3557, 13.9458, 61.1762)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4BD0 #9ED04B
analogous
#4B5CD0 #7D4BD0 #BF4BD0
triadic
#7D4BD0 #D07D4B #4BD07D
tetradic
#7D4BD0 #D04B5C #9ED04B #4BD0BF
square
#7D4BD0 #D04B5C #9ED04B #4BD0BF
split-complementary
#7D4BD0 #D0BF4B #5CD04B
monochromatic
#45217F #5F2EB0 #7D4BD0 #A07CDD #C3ACE9

Accessibility & contrast

On white

5.54
#7D4BD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7D4BD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4BD0
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4BD0#FFFFFF#000000##FFFFFF
##7D4BD01.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D4
Deuteranopia (green-blind)
#0067CD
Tritanopia (blue-blind)
#686987
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7d4bd0;
/* rgb */ color: rgb(125, 75, 208);
/* oklch */ color: oklch(54.0% 0.195 296.6);
Tailwind
colors: {
  custom: {
    50: '#a880df',
    500: '#7d4bd0',
    950: '#000000',
  },
}
SCSS
$custom: #7d4bd0;
$custom-light: #a880df;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4bd0",
  "rgb": {
    "r": 125,
    "g": 75,
    "b": 208
  },
  "hsl": {
    "h": 262.556,
    "s": 58.59,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53992,
    "c": 0.19546,
    "h": 296.6
  },
  "luminance": 0.13946
}

Semantic roles & 50–950 ramp

primary
#7D4BD0
secondary
#C2D7A0
accent
#E246A7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D4BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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