#7D3FB6#7D3FB6

#7D3FB6 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.5% C 0.182 H 304.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7D3FB6
RGBrgb(125, 63, 182)
HSLhsl(271, 49%, 48%)
HSVhsv(271, 65%, 71%)
CMYKcmyk(31.3%, 65.4%, 0%, 28.6%)
CIE-LABlab(40.07, 49.01, -52.79)
CIE-LCHlch(40.07, 72.03, 312.87°)
OKLaboklab(50.47% 0.1033 -0.1497)
OKLCHoklch(50.47% 0.182 304.6)
XYZxyz(18.6766, 11.2925, 45.4426)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3FB6 #78B63F
analogous
#423FB6 #7D3FB6 #B63FB3
triadic
#7D3FB6 #B67D3F #3FB67D
tetradic
#7D3FB6 #B6423F #78B63F #3FB3B6
square
#7D3FB6 #B6423F #78B63F #3FB3B6
split-complementary
#7D3FB6 #B3B63F #3FB642
monochromatic
#3F205B #5E2F89 #7D3FB6 #9B68CB #B995DA

Accessibility & contrast

On white

6.44
#7D3FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7D3FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3FB6
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3FB6#FFFFFF#000000##FFFFFF
##7D3FB61.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBA
Deuteranopia (green-blind)
#1C5EB3
Tritanopia (blue-blind)
#735975
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d3fb6;
/* rgb */ color: rgb(125, 63, 182);
/* oklch */ color: oklch(50.5% 0.182 304.6);
Tailwind
colors: {
  custom: {
    50: '#a778cd',
    500: '#7d3fb6',
    950: '#000000',
  },
}
SCSS
$custom: #7d3fb6;
$custom-light: #a778cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3fb6",
  "rgb": {
    "r": 125,
    "g": 63,
    "b": 182
  },
  "hsl": {
    "h": 271.261,
    "s": 48.571,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5047,
    "c": 0.18188,
    "h": 304.6
  },
  "luminance": 0.11292
}

Semantic roles & 50–950 ramp

primary
#7D3FB6
secondary
#A7C68B
accent
#D85091
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D3FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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