#7D3FC1#7D3FC1

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

Color values

HEX#7D3FC1
RGBrgb(125, 63, 193)
HSLhsl(269, 51%, 50%)
HSVhsv(269, 67%, 76%)
CMYKcmyk(35.2%, 67.4%, 0%, 24.3%)
CIE-LABlab(40.84, 51.69, -57.99)
CIE-LCHlch(40.84, 77.69, 311.71°)
OKLaboklab(51.27% 0.1021 -0.165)
OKLCHoklch(51.27% 0.194 301.8)
XYZxyz(19.8583, 11.7652, 51.6664)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3FC1 #83C13F
analogous
#3F42C1 #7D3FC1 #BE3FC1
triadic
#7D3FC1 #C17D3F #3FC17D
tetradic
#7D3FC1 #C13F42 #83C13F #3FC1BE
square
#7D3FC1 #C13F42 #83C13F #3FC1BE
split-complementary
#7D3FC1 #C1BE3F #42C13F
monochromatic
#412165 #5F3093 #7D3FC1 #9C6DD0 #BC9CDF

Accessibility & contrast

On white

6.26
#7D3FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7D3FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3FC1
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3FC1#FFFFFF#000000##FFFFFF
##7D3FC11.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#0060BE
Tritanopia (blue-blind)
#6F5D7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d3fc1;
/* rgb */ color: rgb(125, 63, 193);
/* oklch */ color: oklch(51.3% 0.194 301.8);
Tailwind
colors: {
  custom: {
    50: '#a878d5',
    500: '#7d3fc1',
    950: '#000000',
  },
}
SCSS
$custom: #7d3fc1;
$custom-light: #a878d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3fc1",
  "rgb": {
    "r": 125,
    "g": 63,
    "b": 193
  },
  "hsl": {
    "h": 268.615,
    "s": 51.181,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51268,
    "c": 0.19406,
    "h": 301.8
  },
  "luminance": 0.11765
}

Semantic roles & 50–950 ramp

primary
#7D3FC1
secondary
#AFCB91
accent
#DB4D97
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D3FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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