#7D3FC8#7D3FC8

#7D3FC8 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.8% C 0.202 H 300.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7D3FC8
RGBrgb(125, 63, 200)
HSLhsl(267, 55%, 52%)
HSVhsv(267, 69%, 78%)
CMYKcmyk(37.5%, 68.5%, 0%, 21.6%)
CIE-LABlab(41.35, 53.42, -61.24)
CIE-LCHlch(41.35, 81.27, 311.10°)
OKLaboklab(51.79% 0.1012 -0.1746)
OKLCHoklch(51.79% 0.202 300.1)
XYZxyz(20.6577, 12.0849, 55.8767)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3FC8 #8AC83F
analogous
#3F46C8 #7D3FC8 #C23FC8
triadic
#7D3FC8 #C87D3F #3FC87D
tetradic
#7D3FC8 #C83F46 #8AC83F #3FC8C2
square
#7D3FC8 #C83F46 #8AC83F #3FC8C2
split-complementary
#7D3FC8 #C8C23F #46C83F
monochromatic
#431F6D #602D9D #7D3FC8 #9D6FD6 #BD9EE3

Accessibility & contrast

On white

6.15
#7D3FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7D3FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3FC8
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3FC8#FFFFFF#000000##FFFFFF
##7D3FC81.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#6C5F7F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7d3fc8;
/* rgb */ color: rgb(125, 63, 200);
/* oklch */ color: oklch(51.8% 0.202 300.1);
Tailwind
colors: {
  custom: {
    50: '#a879da',
    500: '#7d3fc8',
    950: '#000000',
  },
}
SCSS
$custom: #7d3fc8;
$custom-light: #a879da;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3fc8",
  "rgb": {
    "r": 125,
    "g": 63,
    "b": 200
  },
  "hsl": {
    "h": 267.153,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51794,
    "c": 0.20176,
    "h": 300.1
  },
  "luminance": 0.12085
}

Semantic roles & 50–950 ramp

primary
#7D3FC8
secondary
#B4D093
accent
#DF499B
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D3FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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