#7D3FB3#7D3FB3

#7D3FB3 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.3% C 0.179 H 305.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7D3FB3
RGBrgb(125, 63, 179)
HSLhsl(272, 48%, 47%)
HSVhsv(272, 65%, 70%)
CMYKcmyk(30.2%, 64.8%, 0%, 29.8%)
CIE-LABlab(39.87, 48.29, -51.35)
CIE-LCHlch(39.87, 70.49, 313.24°)
OKLaboklab(50.26% 0.1035 -0.1455)
OKLCHoklch(50.26% 0.179 305.4)
XYZxyz(18.3699, 11.1698, 43.8273)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3FB3 #75B33F
analogous
#433FB3 #7D3FB3 #B33FAF
triadic
#7D3FB3 #B37D3F #3FB37D
tetradic
#7D3FB3 #B3433F #75B33F #3FAFB3
square
#7D3FB3 #B3433F #75B33F #3FAFB3
split-complementary
#7D3FB3 #AFB33F #3FB343
monochromatic
#3E1F58 #5D2F86 #7D3FB3 #9B66C9 #B993D9

Accessibility & contrast

On white

6.49
#7D3FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7D3FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3FB3
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3FB3#FFFFFF#000000##FFFFFF
##7D3FB31.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#215EB0
Tritanopia (blue-blind)
#745873
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d3fb3;
/* rgb */ color: rgb(125, 63, 179);
/* oklch */ color: oklch(50.3% 0.179 305.4);
Tailwind
colors: {
  custom: {
    50: '#a778ca',
    500: '#7d3fb3',
    950: '#000000',
  },
}
SCSS
$custom: #7d3fb3;
$custom-light: #a778ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3fb3",
  "rgb": {
    "r": 125,
    "g": 63,
    "b": 179
  },
  "hsl": {
    "h": 272.069,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50258,
    "c": 0.17856,
    "h": 305.4
  },
  "luminance": 0.1117
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D3FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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