#7D3FC3#7D3FC3

#7D3FC3 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.4% C 0.196 H 301.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7D3FC3
RGBrgb(125, 63, 195)
HSLhsl(268, 52%, 51%)
HSVhsv(268, 68%, 76%)
CMYKcmyk(35.9%, 67.7%, 0%, 23.5%)
CIE-LABlab(40.98, 52.18, -58.93)
CIE-LCHlch(40.98, 78.71, 311.53°)
OKLaboklab(51.42% 0.1019 -0.1677)
OKLCHoklch(51.42% 0.196 301.3)
XYZxyz(20.0829, 11.8550, 52.8494)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3FC3 #85C33F
analogous
#3F43C3 #7D3FC3 #BF3FC3
triadic
#7D3FC3 #C37D3F #3FC37D
tetradic
#7D3FC3 #C33F43 #85C33F #3FC3BF
square
#7D3FC3 #C33F43 #85C33F #3FC3BF
split-complementary
#7D3FC3 #C3BF3F #43C33F
monochromatic
#422067 #5F2F96 #7D3FC3 #9D6ED2 #BC9CE0

Accessibility & contrast

On white

6.23
#7D3FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7D3FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3FC3
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3FC3#FFFFFF#000000##FFFFFF
##7D3FC31.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#6E5E7C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7d3fc3;
/* rgb */ color: rgb(125, 63, 195);
/* oklch */ color: oklch(51.4% 0.196 301.3);
Tailwind
colors: {
  custom: {
    50: '#a878d6',
    500: '#7d3fc3',
    950: '#000000',
  },
}
SCSS
$custom: #7d3fc3;
$custom-light: #a878d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3fc3",
  "rgb": {
    "r": 125,
    "g": 63,
    "b": 195
  },
  "hsl": {
    "h": 268.182,
    "s": 52.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51417,
    "c": 0.19626,
    "h": 301.3
  },
  "luminance": 0.11855
}

Semantic roles & 50–950 ramp

primary
#7D3FC3
secondary
#B1CC92
accent
#DC4C98
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D3FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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