#7D3BB6#7D3BB6

#7D3BB6 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.0% C 0.187 H 305.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7D3BB6
RGBrgb(125, 59, 182)
HSLhsl(272, 51%, 47%)
HSVhsv(272, 68%, 71%)
CMYKcmyk(31.3%, 67.6%, 0%, 28.6%)
CIE-LABlab(39.35, 50.98, -53.95)
CIE-LCHlch(39.35, 74.23, 313.38°)
OKLaboklab(49.96% 0.1078 -0.1531)
OKLCHoklch(49.96% 0.187 305.2)
XYZxyz(18.4630, 10.8654, 45.3715)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3BB6 #74B63B
analogous
#403BB6 #7D3BB6 #B63BB2
triadic
#7D3BB6 #B67D3B #3BB67D
tetradic
#7D3BB6 #B6403B #74B63B #3BB2B6
square
#7D3BB6 #B6403B #74B63B #3BB2B6
split-complementary
#7D3BB6 #B2B63B #3BB640
monochromatic
#3E1D5A #5D2C88 #7D3BB6 #9B62CC #B890DB

Accessibility & contrast

On white

6.62
#7D3BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7D3BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3BB6
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3BB6#FFFFFF#000000##FFFFFF
##7D3BB61.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#135DB3
Tritanopia (blue-blind)
#735674
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d3bb6;
/* rgb */ color: rgb(125, 59, 182);
/* oklch */ color: oklch(50.0% 0.187 305.2);
Tailwind
colors: {
  custom: {
    50: '#a776cd',
    500: '#7d3bb6',
    950: '#000000',
  },
}
SCSS
$custom: #7d3bb6;
$custom-light: #a776cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3bb6",
  "rgb": {
    "r": 125,
    "g": 59,
    "b": 182
  },
  "hsl": {
    "h": 272.195,
    "s": 51.037,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49955,
    "c": 0.18724,
    "h": 305.2
  },
  "luminance": 0.10865
}

Semantic roles & 50–950 ramp

primary
#7D3BB6
secondary
#A4C687
accent
#DB4D8F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D3BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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