#7D3BB3#7D3BB3

#7D3BB3 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.7% C 0.184 H 306.0°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7D3BB3
RGBrgb(125, 59, 179)
HSLhsl(273, 50%, 47%)
HSVhsv(273, 67%, 70%)
CMYKcmyk(30.2%, 67%, 0%, 29.8%)
CIE-LABlab(39.14, 50.27, -52.51)
CIE-LCHlch(39.14, 72.70, 313.75°)
OKLaboklab(49.74% 0.1081 -0.1489)
OKLCHoklch(49.74% 0.184 306)
XYZxyz(18.1563, 10.7427, 43.7561)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3BB3 #71B33B
analogous
#413BB3 #7D3BB3 #B33BAD
triadic
#7D3BB3 #B37D3B #3BB37D
tetradic
#7D3BB3 #B3413B #71B33B #3BADB3
square
#7D3BB3 #B3413B #71B33B #3BADB3
split-complementary
#7D3BB3 #ADB33B #3BB341
monochromatic
#3D1D57 #5D2C85 #7D3BB3 #9B60CB #B88EDA

Accessibility & contrast

On white

6.67
#7D3BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7D3BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3BB3
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3BB3#FFFFFF#000000##FFFFFF
##7D3BB31.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#1A5CB0
Tritanopia (blue-blind)
#745572
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d3bb3;
/* rgb */ color: rgb(125, 59, 179);
/* oklch */ color: oklch(49.7% 0.184 306.0);
Tailwind
colors: {
  custom: {
    50: '#a776ca',
    500: '#7d3bb3',
    950: '#000000',
  },
}
SCSS
$custom: #7d3bb3;
$custom-light: #a776ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3bb3",
  "rgb": {
    "r": 125,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 273,
    "s": 50.42,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49739,
    "c": 0.184,
    "h": 306
  },
  "luminance": 0.10743
}

Semantic roles & 50–950 ramp

primary
#7D3BB3
secondary
#A2C585
accent
#DA4E8D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D3BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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