#7D3EAF#7D3EAF

#7D3EAF is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.8% C 0.176 H 306.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7D3EAF
RGBrgb(125, 62, 175)
HSLhsl(273, 48%, 46%)
HSVhsv(273, 65%, 69%)
CMYKcmyk(28.6%, 64.6%, 0%, 31.4%)
CIE-LABlab(39.41, 47.84, -49.71)
CIE-LCHlch(39.41, 68.99, 313.90°)
OKLaboklab(49.85% 0.105 -0.1407)
OKLCHoklch(49.85% 0.176 306.7)
XYZxyz(17.9163, 10.9006, 41.7093)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3EAF #70AF3E
analogous
#453EAF #7D3EAF #AF3EA9
triadic
#7D3EAF #AF7D3E #3EAF7D
tetradic
#7D3EAF #AF453E #70AF3E #3EA9AF
square
#7D3EAF #AF453E #70AF3E #3EA9AF
split-complementary
#7D3EAF #A9AF3E #3EAF45
monochromatic
#3C1E55 #5D2E82 #7D3EAF #9B63C8 #B890D8

Accessibility & contrast

On white

6.60
#7D3EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7D3EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3EAF
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3EAF#FFFFFF#000000##FFFFFF
##7D3EAF1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#265DAC
Tritanopia (blue-blind)
#755671
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d3eaf;
/* rgb */ color: rgb(125, 62, 175);
/* oklch */ color: oklch(49.8% 0.176 306.7);
Tailwind
colors: {
  custom: {
    50: '#a677c7',
    500: '#7d3eaf',
    950: '#000000',
  },
}
SCSS
$custom: #7d3eaf;
$custom-light: #a677c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3eaf",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 273.451,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49846,
    "c": 0.17552,
    "h": 306.7
  },
  "luminance": 0.109
}

Semantic roles & 50–950 ramp

primary
#7D3EAF
secondary
#A1C386
accent
#D7518C
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D3EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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