#7D3ED7#7D3ED7

#7D3ED7 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.8% C 0.219 H 297.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#7D3ED7
RGBrgb(125, 62, 215)
HSLhsl(265, 66%, 54%)
HSVhsv(265, 71%, 84%)
CMYKcmyk(41.9%, 71.2%, 0%, 15.7%)
CIE-LABlab(42.32, 57.64, -68.31)
CIE-LCHlch(42.32, 89.38, 310.16°)
OKLaboklab(52.85% 0.0996 -0.1953)
OKLCHoklch(52.85% 0.219 297)
XYZxyz(22.4426, 12.7111, 65.5479)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3ED7 #98D73E
analogous
#3E4CD7 #7D3ED7 #CA3ED7
triadic
#7D3ED7 #D77D3E #3ED77D
tetradic
#7D3ED7 #D73E4C #98D73E #3ED7CA
square
#7D3ED7 #D73E4C #98D73E #3ED7CA
split-complementary
#7D3ED7 #D7CA3E #4CD73E
monochromatic
#441B80 #5F25B3 #7D3ED7 #9F71E2 #C1A3EC

Accessibility & contrast

On white

5.93
#7D3ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7D3ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3ED7
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3ED7#FFFFFF#000000##FFFFFF
##7D3ED71.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DB
Deuteranopia (green-blind)
#0062D4
Tritanopia (blue-blind)
#666587
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7d3ed7;
/* rgb */ color: rgb(125, 62, 215);
/* oklch */ color: oklch(52.8% 0.219 297.0);
Tailwind
colors: {
  custom: {
    50: '#aa79e4',
    500: '#7d3ed7',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ed7;
$custom-light: #aa79e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ed7",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 215
  },
  "hsl": {
    "h": 264.706,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52845,
    "c": 0.21925,
    "h": 297
  },
  "luminance": 0.12712
}

Semantic roles & 50–950 ramp

primary
#7D3ED7
secondary
#BED998
accent
#E93FA3
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7D3ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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