#7D3EB3#7D3EB3

#7D3EB3 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.1% C 0.180 H 305.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7D3EB3
RGBrgb(125, 62, 179)
HSLhsl(272, 49%, 47%)
HSVhsv(272, 65%, 70%)
CMYKcmyk(30.2%, 65.4%, 0%, 29.8%)
CIE-LABlab(39.68, 48.79, -51.65)
CIE-LCHlch(39.68, 71.05, 313.37°)
OKLaboklab(50.13% 0.1047 -0.1463)
OKLCHoklch(50.13% 0.18 305.6)
XYZxyz(18.3150, 11.0600, 43.8090)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3EB3 #74B33E
analogous
#433EB3 #7D3EB3 #B33EAF
triadic
#7D3EB3 #B37D3E #3EB37D
tetradic
#7D3EB3 #B3433E #74B33E #3EAFB3
square
#7D3EB3 #B3433E #74B33E #3EAFB3
split-complementary
#7D3EB3 #AFB33E #3EB343
monochromatic
#3E1F58 #5D2E86 #7D3EB3 #9B65CA #B892D9

Accessibility & contrast

On white

6.54
#7D3EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7D3EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3EB3
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3EB3#FFFFFF#000000##FFFFFF
##7D3EB31.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#1F5EB0
Tritanopia (blue-blind)
#745773
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d3eb3;
/* rgb */ color: rgb(125, 62, 179);
/* oklch */ color: oklch(50.1% 0.180 305.6);
Tailwind
colors: {
  custom: {
    50: '#a777ca',
    500: '#7d3eb3',
    950: '#000000',
  },
}
SCSS
$custom: #7d3eb3;
$custom-light: #a777ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3eb3",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 272.308,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50125,
    "c": 0.17995,
    "h": 305.6
  },
  "luminance": 0.1106
}

Semantic roles & 50–950 ramp

primary
#7D3EB3
secondary
#A4C588
accent
#D8508F
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D3EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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