#7D3BC7#7D3BC7

#7D3BC7 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.2% C 0.206 H 300.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7D3BC7
RGBrgb(125, 59, 199)
HSLhsl(268, 56%, 51%)
HSVhsv(268, 70%, 78%)
CMYKcmyk(37.2%, 70.4%, 0%, 22%)
CIE-LABlab(40.59, 55.08, -61.89)
CIE-LCHlch(40.59, 82.85, 311.67°)
OKLaboklab(51.23% 0.1054 -0.1764)
OKLCHoklch(51.23% 0.206 300.8)
XYZxyz(20.3277, 11.6113, 55.1920)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3BC7 #85C73B
analogous
#3B3FC7 #7D3BC7 #C33BC7
triadic
#7D3BC7 #C77D3B #3BC77D
tetradic
#7D3BC7 #C73B3F #85C73B #3BC7C3
square
#7D3BC7 #C73B3F #85C73B #3BC7C3
split-complementary
#7D3BC7 #C7C33B #3FC73B
monochromatic
#421E69 #5F2C99 #7D3BC7 #9D6BD5 #BC9AE2

Accessibility & contrast

On white

6.32
#7D3BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7D3BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3BC7
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3BC7#FFFFFF#000000##FFFFFF
##7D3BC71.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#005FC4
Tritanopia (blue-blind)
#6D5D7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d3bc7;
/* rgb */ color: rgb(125, 59, 199);
/* oklch */ color: oklch(51.2% 0.206 300.8);
Tailwind
colors: {
  custom: {
    50: '#a876d9',
    500: '#7d3bc7',
    950: '#000000',
  },
}
SCSS
$custom: #7d3bc7;
$custom-light: #a876d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3bc7",
  "rgb": {
    "r": 125,
    "g": 59,
    "b": 199
  },
  "hsl": {
    "h": 268.286,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5123,
    "c": 0.20552,
    "h": 300.8
  },
  "luminance": 0.11611
}

Semantic roles & 50–950 ramp

primary
#7D3BC7
secondary
#B1CE90
accent
#DF4998
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D3BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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