#7D4EC0#7D4EC0

#7D4EC0 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.3% C 0.172 H 299.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7D4EC0
RGBrgb(125, 78, 192)
HSLhsl(265, 48%, 53%)
HSVhsv(265, 59%, 75%)
CMYKcmyk(34.9%, 59.4%, 0%, 24.7%)
CIE-LABlab(43.67, 43.58, -52.84)
CIE-LCHlch(43.67, 68.49, 309.51°)
OKLaboklab(53.3% 0.0849 -0.1499)
OKLCHoklch(53.3% 0.172 299.5)
XYZxyz(20.6939, 13.6143, 51.3965)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4EC0 #91C04E
analogous
#4E58C0 #7D4EC0 #B64EC0
triadic
#7D4EC0 #C07D4E #4EC07D
tetradic
#7D4EC0 #C04E58 #91C04E #4EC0B6
square
#7D4EC0 #C04E58 #91C04E #4EC0B6
split-complementary
#7D4EC0 #C0B64E #58C04E
monochromatic
#44276D #60379A #7D4EC0 #9E7BD0 #BFA8E0

Accessibility & contrast

On white

5.64
#7D4EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7D4EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4EC0
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4EC0#FFFFFF#000000##FFFFFF
##7D4EC01.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B67C4
Deuteranopia (green-blind)
#2766BD
Tritanopia (blue-blind)
#6E667F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d4ec0;
/* rgb */ color: rgb(125, 78, 192);
/* oklch */ color: oklch(53.3% 0.172 299.5);
Tailwind
colors: {
  custom: {
    50: '#a782d4',
    500: '#7d4ec0',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ec0;
$custom-light: #a782d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ec0",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 264.737,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53298,
    "c": 0.17226,
    "h": 299.5
  },
  "luminance": 0.13615
}

Semantic roles & 50–950 ramp

primary
#7D4EC0
secondary
#B9CE9C
accent
#D751A0
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D4EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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