#7D3DAF#7D3DAF

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

Color values

HEX#7D3DAF
RGBrgb(125, 61, 175)
HSLhsl(274, 48%, 46%)
HSVhsv(274, 65%, 69%)
CMYKcmyk(28.6%, 65.1%, 0%, 31.4%)
CIE-LABlab(39.23, 48.34, -50.01)
CIE-LCHlch(39.23, 69.55, 314.03°)
OKLaboklab(49.71% 0.1062 -0.1415)
OKLCHoklch(49.71% 0.177 306.9)
XYZxyz(17.8624, 10.7928, 41.6913)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3DAF #6FAF3D
analogous
#443DAF #7D3DAF #AF3DA8
triadic
#7D3DAF #AF7D3D #3DAF7D
tetradic
#7D3DAF #AF443D #6FAF3D #3DA8AF
square
#7D3DAF #AF443D #6FAF3D #3DA8AF
split-complementary
#7D3DAF #A8AF3D #3DAF44
monochromatic
#3C1D54 #5D2D82 #7D3DAF #9B61C8 #B88FD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D3DAF#FFFFFF#000000##FFFFFF
##7D3DAF1.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)
#005AB2
Deuteranopia (green-blind)
#245DAC
Tritanopia (blue-blind)
#755570
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d3daf;
/* rgb */ color: rgb(125, 61, 175);
/* oklch */ color: oklch(49.7% 0.177 306.9);
Tailwind
colors: {
  custom: {
    50: '#a677c7',
    500: '#7d3daf',
    950: '#000000',
  },
}
SCSS
$custom: #7d3daf;
$custom-light: #a677c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3daf",
  "rgb": {
    "r": 125,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 273.684,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49714,
    "c": 0.17693,
    "h": 306.9
  },
  "luminance": 0.10793
}

Semantic roles & 50–950 ramp

primary
#7D3DAF
secondary
#A0C385
accent
#D8508C
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D3DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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