#7D3FB5#7D3FB5

#7D3FB5 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.4% C 0.181 H 304.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#7D3FB5
RGBrgb(125, 63, 181)
HSLhsl(272, 48%, 48%)
HSVhsv(272, 65%, 71%)
CMYKcmyk(30.9%, 65.2%, 0%, 29%)
CIE-LABlab(40.00, 48.77, -52.31)
CIE-LCHlch(40.00, 71.52, 312.99°)
OKLaboklab(50.4% 0.1034 -0.1483)
OKLCHoklch(50.4% 0.181 304.9)
XYZxyz(18.5736, 11.2513, 44.9003)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3FB5 #77B53F
analogous
#423FB5 #7D3FB5 #B53FB2
triadic
#7D3FB5 #B57D3F #3FB57D
tetradic
#7D3FB5 #B5423F #77B53F #3FB2B5
square
#7D3FB5 #B5423F #77B53F #3FB2B5
split-complementary
#7D3FB5 #B2B53F #3FB542
monochromatic
#3E1F5A #5E2F88 #7D3FB5 #9B67CA #B994DA

Accessibility & contrast

On white

6.46
#7D3FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7D3FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3FB5
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3FB5#FFFFFF#000000##FFFFFF
##7D3FB51.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#1E5EB2
Tritanopia (blue-blind)
#735874
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d3fb5;
/* rgb */ color: rgb(125, 63, 181);
/* oklch */ color: oklch(50.4% 0.181 304.9);
Tailwind
colors: {
  custom: {
    50: '#a778cc',
    500: '#7d3fb5',
    950: '#000000',
  },
}
SCSS
$custom: #7d3fb5;
$custom-light: #a778cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3fb5",
  "rgb": {
    "r": 125,
    "g": 63,
    "b": 181
  },
  "hsl": {
    "h": 271.525,
    "s": 48.361,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50399,
    "c": 0.18079,
    "h": 304.9
  },
  "luminance": 0.11251
}

Semantic roles & 50–950 ramp

primary
#7D3FB5
secondary
#A6C58A
accent
#D85090
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D3FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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