#7D4BDB#7D4BDB

#7D4BDB is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.8% C 0.208 H 294.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7D4BDB
RGBrgb(125, 75, 219)
HSLhsl(261, 67%, 58%)
HSVhsv(261, 66%, 86%)
CMYKcmyk(42.9%, 65.8%, 0%, 14.1%)
CIE-LABlab(44.95, 52.24, -66.33)
CIE-LCHlch(44.95, 84.43, 308.22°)
OKLaboklab(54.82% 0.0862 -0.1895)
OKLCHoklch(54.82% 0.208 294.5)
XYZxyz(23.7563, 14.5060, 68.5524)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4BDB #A9DB4B
analogous
#4B61DB #7D4BDB #C54BDB
triadic
#7D4BDB #DB7D4B #4BDB7D
tetradic
#7D4BDB #DB4B61 #A9DB4B #4BDBC5
square
#7D4BDB #DB4B61 #A9DB4B #4BDBC5
split-complementary
#7D4BDB #DBC54B #61DB4B
monochromatic
#441D8F #5D27C2 #7D4BDB #A27EE5 #C7B1EF

Accessibility & contrast

On white

5.38
#7D4BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7D4BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4BDB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4BDB#FFFFFF#000000##FFFFFF
##7D4BDB1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#636D8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d4bdb;
/* rgb */ color: rgb(125, 75, 219);
/* oklch */ color: oklch(54.8% 0.208 294.5);
Tailwind
colors: {
  custom: {
    50: '#aa80e7',
    500: '#7d4bdb',
    950: '#000000',
  },
}
SCSS
$custom: #7d4bdb;
$custom-light: #aa80e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4bdb",
  "rgb": {
    "r": 125,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 260.833,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54816,
    "c": 0.20824,
    "h": 294.5
  },
  "luminance": 0.14507
}

Semantic roles & 50–950 ramp

primary
#7D4BDB
secondary
#CADEA4
accent
#EA3EAE
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7D4BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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