#7D3FC4#7D3FC4

#7D3FC4 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.5% C 0.197 H 301.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7D3FC4
RGBrgb(125, 63, 196)
HSLhsl(268, 53%, 51%)
HSVhsv(268, 68%, 77%)
CMYKcmyk(36.2%, 67.9%, 0%, 23.1%)
CIE-LABlab(41.06, 52.43, -59.39)
CIE-LCHlch(41.06, 79.22, 311.44°)
OKLaboklab(51.49% 0.1017 -0.1691)
OKLCHoklch(51.49% 0.197 301)
XYZxyz(20.1963, 11.9004, 53.4468)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3FC4 #86C43F
analogous
#3F43C4 #7D3FC4 #BF3FC4
triadic
#7D3FC4 #C47D3F #3FC47D
tetradic
#7D3FC4 #C43F43 #86C43F #3FC4BF
square
#7D3FC4 #C43F43 #86C43F #3FC4BF
split-complementary
#7D3FC4 #C4BF3F #43C43F
monochromatic
#422068 #5F2E97 #7D3FC4 #9D6ED2 #BC9DE1

Accessibility & contrast

On white

6.21
#7D3FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7D3FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3FC4
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3FC4#FFFFFF#000000##FFFFFF
##7D3FC41.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d3fc4;
/* rgb */ color: rgb(125, 63, 196);
/* oklch */ color: oklch(51.5% 0.197 301.0);
Tailwind
colors: {
  custom: {
    50: '#a878d7',
    500: '#7d3fc4',
    950: '#000000',
  },
}
SCSS
$custom: #7d3fc4;
$custom-light: #a878d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3fc4",
  "rgb": {
    "r": 125,
    "g": 63,
    "b": 196
  },
  "hsl": {
    "h": 267.97,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51492,
    "c": 0.19736,
    "h": 301
  },
  "luminance": 0.11901
}

Semantic roles & 50–950 ramp

primary
#7D3FC4
secondary
#B1CD92
accent
#DC4B99
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D3FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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