#7D3FC0#7D3FC0

#7D3FC0 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.193 H 302.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7D3FC0
RGBrgb(125, 63, 192)
HSLhsl(269, 51%, 50%)
HSVhsv(269, 67%, 75%)
CMYKcmyk(34.9%, 67.2%, 0%, 24.7%)
CIE-LABlab(40.77, 51.44, -57.53)
CIE-LCHlch(40.77, 77.17, 311.80°)
OKLaboklab(51.19% 0.1022 -0.1636)
OKLCHoklch(51.19% 0.193 302)
XYZxyz(19.7471, 11.7207, 51.0809)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3FC0 #82C03F
analogous
#3F42C0 #7D3FC0 #BD3FC0
triadic
#7D3FC0 #C07D3F #3FC07D
tetradic
#7D3FC0 #C03F42 #82C03F #3FC0BD
square
#7D3FC0 #C03F42 #82C03F #3FC0BD
split-complementary
#7D3FC0 #C0BD3F #42C03F
monochromatic
#412164 #5F3092 #7D3FC0 #9C6DCF #BB9BDE

Accessibility & contrast

On white

6.28
#7D3FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7D3FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3FC0
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3FC0#FFFFFF#000000##FFFFFF
##7D3FC01.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#0060BD
Tritanopia (blue-blind)
#6F5C7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d3fc0;
/* rgb */ color: rgb(125, 63, 192);
/* oklch */ color: oklch(51.2% 0.193 302.0);
Tailwind
colors: {
  custom: {
    50: '#a878d4',
    500: '#7d3fc0',
    950: '#000000',
  },
}
SCSS
$custom: #7d3fc0;
$custom-light: #a878d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3fc0",
  "rgb": {
    "r": 125,
    "g": 63,
    "b": 192
  },
  "hsl": {
    "h": 268.837,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.51194,
    "c": 0.19295,
    "h": 302
  },
  "luminance": 0.11721
}

Semantic roles & 50–950 ramp

primary
#7D3FC0
secondary
#AFCA91
accent
#DA4E97
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D3FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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