#7D3FBE#7D3FBE

#7D3FBE is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.0% C 0.191 H 302.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#7D3FBE
RGBrgb(125, 63, 190)
HSLhsl(269, 50%, 50%)
HSVhsv(269, 67%, 75%)
CMYKcmyk(34.2%, 66.8%, 0%, 25.5%)
CIE-LABlab(40.63, 50.95, -56.59)
CIE-LCHlch(40.63, 76.15, 312.00°)
OKLaboklab(51.05% 0.1025 -0.1609)
OKLCHoklch(51.05% 0.191 302.5)
XYZxyz(19.5270, 11.6327, 49.9218)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3FBE #80BE3F
analogous
#3F41BE #7D3FBE #BD3FBE
triadic
#7D3FBE #BE7D3F #3FBE7D
tetradic
#7D3FBE #BE3F41 #80BE3F #3FBEBD
square
#7D3FBE #BE3F41 #80BE3F #3FBEBD
split-complementary
#7D3FBE #BEBD3F #41BE3F
monochromatic
#412162 #5F3090 #7D3FBE #9C6CCE #BB9ADD

Accessibility & contrast

On white

6.31
#7D3FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7D3FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3FBE
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3FBE#FFFFFF#000000##FFFFFF
##7D3FBE1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#025FBB
Tritanopia (blue-blind)
#705C79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d3fbe;
/* rgb */ color: rgb(125, 63, 190);
/* oklch */ color: oklch(51.0% 0.191 302.5);
Tailwind
colors: {
  custom: {
    50: '#a778d2',
    500: '#7d3fbe',
    950: '#000000',
  },
}
SCSS
$custom: #7d3fbe;
$custom-light: #a778d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3fbe",
  "rgb": {
    "r": 125,
    "g": 63,
    "b": 190
  },
  "hsl": {
    "h": 269.291,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51047,
    "c": 0.19074,
    "h": 302.5
  },
  "luminance": 0.11633
}

Semantic roles & 50–950 ramp

primary
#7D3FBE
secondary
#ADC98F
accent
#DA4E96
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D3FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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