#7D3BB1#7D3BB1

#7D3BB1 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.6% C 0.182 H 306.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7D3BB1
RGBrgb(125, 59, 177)
HSLhsl(274, 50%, 46%)
HSVhsv(274, 67%, 69%)
CMYKcmyk(29.4%, 66.7%, 0%, 30.6%)
CIE-LABlab(39.01, 49.80, -51.55)
CIE-LCHlch(39.01, 71.68, 314.01°)
OKLaboklab(49.6% 0.1083 -0.1461)
OKLCHoklch(49.6% 0.182 306.6)
XYZxyz(17.9555, 10.6624, 42.6986)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3BB1 #6FB13B
analogous
#423BB1 #7D3BB1 #B13BAA
triadic
#7D3BB1 #B17D3B #3BB17D
tetradic
#7D3BB1 #B1423B #6FB13B #3BAAB1
square
#7D3BB1 #B1423B #6FB13B #3BAAB1
split-complementary
#7D3BB1 #AAB13B #3BB142
monochromatic
#3C1C55 #5D2C83 #7D3BB1 #9B5FCA #B88DD9

Accessibility & contrast

On white

6.70
#7D3BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7D3BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3BB1
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3BB1#FFFFFF#000000##FFFFFF
##7D3BB11.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#1E5CAE
Tritanopia (blue-blind)
#745471
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d3bb1;
/* rgb */ color: rgb(125, 59, 177);
/* oklch */ color: oklch(49.6% 0.182 306.6);
Tailwind
colors: {
  custom: {
    50: '#a775c9',
    500: '#7d3bb1',
    950: '#000000',
  },
}
SCSS
$custom: #7d3bb1;
$custom-light: #a775c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3bb1",
  "rgb": {
    "r": 125,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 273.559,
    "s": 50,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49596,
    "c": 0.18185,
    "h": 306.6
  },
  "luminance": 0.10662
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D3BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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