#7D3FC5#7D3FC5

#7D3FC5 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.6% C 0.198 H 300.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7D3FC5
RGBrgb(125, 63, 197)
HSLhsl(268, 54%, 51%)
HSVhsv(268, 68%, 77%)
CMYKcmyk(36.5%, 68%, 0%, 22.7%)
CIE-LABlab(41.13, 52.67, -59.86)
CIE-LCHlch(41.13, 79.73, 311.35°)
OKLaboklab(51.57% 0.1016 -0.1705)
OKLCHoklch(51.57% 0.198 300.8)
XYZxyz(20.3105, 11.9461, 54.0483)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3FC5 #87C53F
analogous
#3F44C5 #7D3FC5 #C03FC5
triadic
#7D3FC5 #C57D3F #3FC57D
tetradic
#7D3FC5 #C53F44 #87C53F #3FC5C0
square
#7D3FC5 #C53F44 #87C53F #3FC5C0
split-complementary
#7D3FC5 #C5C03F #44C53F
monochromatic
#42206A #5F2E99 #7D3FC5 #9D6ED3 #BD9DE1

Accessibility & contrast

On white

6.20
#7D3FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7D3FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3FC5
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3FC5#FFFFFF#000000##FFFFFF
##7D3FC51.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#6D5E7D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7d3fc5;
/* rgb */ color: rgb(125, 63, 197);
/* oklch */ color: oklch(51.6% 0.198 300.8);
Tailwind
colors: {
  custom: {
    50: '#a878d7',
    500: '#7d3fc5',
    950: '#000000',
  },
}
SCSS
$custom: #7d3fc5;
$custom-light: #a878d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3fc5",
  "rgb": {
    "r": 125,
    "g": 63,
    "b": 197
  },
  "hsl": {
    "h": 267.761,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51567,
    "c": 0.19846,
    "h": 300.8
  },
  "luminance": 0.11946
}

Semantic roles & 50–950 ramp

primary
#7D3FC5
secondary
#B2CE92
accent
#DD4B99
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D3FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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