#7D4CDB#7D4CDB

#7D4CDB is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.0% C 0.207 H 294.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7D4CDB
RGBrgb(125, 76, 219)
HSLhsl(261, 67%, 58%)
HSVhsv(261, 65%, 86%)
CMYKcmyk(42.9%, 65.3%, 0%, 14.1%)
CIE-LABlab(45.14, 51.72, -66.02)
CIE-LCHlch(45.14, 83.87, 308.07°)
OKLaboklab(54.95% 0.0852 -0.1886)
OKLCHoklch(54.95% 0.207 294.3)
XYZxyz(23.8246, 14.6427, 68.5752)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4CDB #AADB4C
analogous
#4C63DB #7D4CDB #C44CDB
triadic
#7D4CDB #DB7D4C #4CDB7D
tetradic
#7D4CDB #DB4C63 #AADB4C #4CDBC4
square
#7D4CDB #DB4C63 #AADB4C #4CDBC4
split-complementary
#7D4CDB #DBC44C #63DB4C
monochromatic
#441D90 #5C27C3 #7D4CDB #A27FE5 #C7B2EF

Accessibility & contrast

On white

5.35
#7D4CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7D4CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4CDB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4CDB#FFFFFF#000000##FFFFFF
##7D4CDB1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d4cdb;
/* rgb */ color: rgb(125, 76, 219);
/* oklch */ color: oklch(55.0% 0.207 294.3);
Tailwind
colors: {
  custom: {
    50: '#a981e7',
    500: '#7d4cdb',
    950: '#000000',
  },
}
SCSS
$custom: #7d4cdb;
$custom-light: #a981e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4cdb",
  "rgb": {
    "r": 125,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 260.559,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54953,
    "c": 0.20699,
    "h": 294.3
  },
  "luminance": 0.14643
}

Semantic roles & 50–950 ramp

primary
#7D4CDB
secondary
#CADEA5
accent
#E93EAF
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7D4CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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