#7D3BB2#7D3BB2

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

Color values

HEX#7D3BB2
RGBrgb(125, 59, 178)
HSLhsl(273, 50%, 46%)
HSVhsv(273, 67%, 70%)
CMYKcmyk(29.8%, 66.9%, 0%, 30.2%)
CIE-LABlab(39.07, 50.04, -52.03)
CIE-LCHlch(39.07, 72.19, 313.88°)
OKLaboklab(49.67% 0.1082 -0.1475)
OKLCHoklch(49.67% 0.183 306.3)
XYZxyz(18.0556, 10.7024, 43.2254)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3BB2 #70B23B
analogous
#413BB2 #7D3BB2 #B23BAC
triadic
#7D3BB2 #B27D3B #3BB27D
tetradic
#7D3BB2 #B2413B #70B23B #3BACB2
square
#7D3BB2 #B2413B #70B23B #3BACB2
split-complementary
#7D3BB2 #ACB23B #3BB241
monochromatic
#3C1D56 #5D2C84 #7D3BB2 #9B60CA #B88EDA

Accessibility & contrast

On white

6.69
#7D3BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7D3BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3BB2
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3BB2#FFFFFF#000000##FFFFFF
##7D3BB21.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#1C5CAF
Tritanopia (blue-blind)
#745571
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d3bb2;
/* rgb */ color: rgb(125, 59, 178);
/* oklch */ color: oklch(49.7% 0.183 306.3);
Tailwind
colors: {
  custom: {
    50: '#a776ca',
    500: '#7d3bb2',
    950: '#000000',
  },
}
SCSS
$custom: #7d3bb2;
$custom-light: #a776ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3bb2",
  "rgb": {
    "r": 125,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 273.277,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49667,
    "c": 0.18292,
    "h": 306.3
  },
  "luminance": 0.10702
}

Semantic roles & 50–950 ramp

primary
#7D3BB2
secondary
#A1C485
accent
#DA4E8C
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D3BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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