#7D3FC2#7D3FC2

#7D3FC2 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.3% C 0.195 H 301.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7D3FC2
RGBrgb(125, 63, 194)
HSLhsl(268, 52%, 50%)
HSVhsv(268, 68%, 76%)
CMYKcmyk(35.6%, 67.5%, 0%, 23.9%)
CIE-LABlab(40.91, 51.94, -58.46)
CIE-LCHlch(40.91, 78.20, 311.62°)
OKLaboklab(51.34% 0.102 -0.1664)
OKLCHoklch(51.34% 0.195 301.5)
XYZxyz(19.9702, 11.8099, 52.2559)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3FC2 #84C23F
analogous
#3F42C2 #7D3FC2 #BF3FC2
triadic
#7D3FC2 #C27D3F #3FC27D
tetradic
#7D3FC2 #C23F42 #84C23F #3FC2BF
square
#7D3FC2 #C23F42 #84C23F #3FC2BF
split-complementary
#7D3FC2 #C2BF3F #42C23F
monochromatic
#412066 #5F2F95 #7D3FC2 #9C6DD1 #BC9CE0

Accessibility & contrast

On white

6.25
#7D3FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7D3FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3FC2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3FC2#FFFFFF#000000##FFFFFF
##7D3FC21.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#6E5D7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d3fc2;
/* rgb */ color: rgb(125, 63, 194);
/* oklch */ color: oklch(51.3% 0.195 301.5);
Tailwind
colors: {
  custom: {
    50: '#a878d5',
    500: '#7d3fc2',
    950: '#000000',
  },
}
SCSS
$custom: #7d3fc2;
$custom-light: #a878d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3fc2",
  "rgb": {
    "r": 125,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 268.397,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51343,
    "c": 0.19516,
    "h": 301.5
  },
  "luminance": 0.1181
}

Semantic roles & 50–950 ramp

primary
#7D3FC2
secondary
#B0CC91
accent
#DB4D98
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D3FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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