#7D3FC6#7D3FC6

#7D3FC6 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.6% C 0.200 H 300.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7D3FC6
RGBrgb(125, 63, 198)
HSLhsl(268, 54%, 51%)
HSVhsv(268, 68%, 78%)
CMYKcmyk(36.9%, 68.2%, 0%, 22.4%)
CIE-LABlab(41.20, 52.92, -60.32)
CIE-LCHlch(41.20, 80.24, 311.26°)
OKLaboklab(51.64% 0.1015 -0.1718)
OKLCHoklch(51.64% 0.2 300.6)
XYZxyz(20.4255, 11.9921, 54.6537)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3FC6 #88C63F
analogous
#3F44C6 #7D3FC6 #C13FC6
triadic
#7D3FC6 #C67D3F #3FC67D
tetradic
#7D3FC6 #C63F44 #88C63F #3FC6C1
square
#7D3FC6 #C63F44 #88C63F #3FC6C1
split-complementary
#7D3FC6 #C6C13F #44C63F
monochromatic
#42206B #5F2E9A #7D3FC6 #9D6ED4 #BD9DE2

Accessibility & contrast

On white

6.18
#7D3FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7D3FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3FC6
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3FC6#FFFFFF#000000##FFFFFF
##7D3FC61.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CA
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#6D5F7E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7d3fc6;
/* rgb */ color: rgb(125, 63, 198);
/* oklch */ color: oklch(51.6% 0.200 300.6);
Tailwind
colors: {
  custom: {
    50: '#a878d8',
    500: '#7d3fc6',
    950: '#000000',
  },
}
SCSS
$custom: #7d3fc6;
$custom-light: #a878d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3fc6",
  "rgb": {
    "r": 125,
    "g": 63,
    "b": 198
  },
  "hsl": {
    "h": 267.556,
    "s": 54.217,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51643,
    "c": 0.19956,
    "h": 300.6
  },
  "luminance": 0.11992
}

Semantic roles & 50–950 ramp

primary
#7D3FC6
secondary
#B3CE93
accent
#DE4A9A
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D3FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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