#7D3BB4#7D3BB4

#7D3BB4 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.8% C 0.185 H 305.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7D3BB4
RGBrgb(125, 59, 180)
HSLhsl(273, 51%, 47%)
HSVhsv(273, 67%, 71%)
CMYKcmyk(30.6%, 67.2%, 0%, 29.4%)
CIE-LABlab(39.21, 50.51, -52.99)
CIE-LCHlch(39.21, 73.21, 313.62°)
OKLaboklab(49.81% 0.108 -0.1503)
OKLCHoklch(49.81% 0.185 305.7)
XYZxyz(18.2578, 10.7833, 44.2907)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3BB4 #72B43B
analogous
#403BB4 #7D3BB4 #B43BAF
triadic
#7D3BB4 #B47D3B #3BB47D
tetradic
#7D3BB4 #B4403B #72B43B #3BAFB4
square
#7D3BB4 #B4403B #72B43B #3BAFB4
split-complementary
#7D3BB4 #AFB43B #3BB440
monochromatic
#3D1D58 #5D2C86 #7D3BB4 #9B61CB #B88FDA

Accessibility & contrast

On white

6.65
#7D3BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7D3BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3BB4
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3BB4#FFFFFF#000000##FFFFFF
##7D3BB41.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#185DB1
Tritanopia (blue-blind)
#735673
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d3bb4;
/* rgb */ color: rgb(125, 59, 180);
/* oklch */ color: oklch(49.8% 0.185 305.7);
Tailwind
colors: {
  custom: {
    50: '#a776cb',
    500: '#7d3bb4',
    950: '#000000',
  },
}
SCSS
$custom: #7d3bb4;
$custom-light: #a776cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3bb4",
  "rgb": {
    "r": 125,
    "g": 59,
    "b": 180
  },
  "hsl": {
    "h": 272.727,
    "s": 50.628,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49811,
    "c": 0.18509,
    "h": 305.7
  },
  "luminance": 0.10783
}

Semantic roles & 50–950 ramp

primary
#7D3BB4
secondary
#A3C586
accent
#DA4E8E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D3BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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