#7D3DC2#7D3DC2

#7D3DC2 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.1% C 0.198 H 301.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7D3DC2
RGBrgb(125, 61, 194)
HSLhsl(269, 52%, 50%)
HSVhsv(269, 69%, 76%)
CMYKcmyk(35.6%, 68.6%, 0%, 23.9%)
CIE-LABlab(40.56, 52.91, -59.03)
CIE-LCHlch(40.56, 79.27, 311.87°)
OKLaboklab(51.09% 0.1041 -0.168)
OKLCHoklch(51.09% 0.198 301.8)
XYZxyz(19.8615, 11.5924, 52.2197)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3DC2 #82C23D
analogous
#3D40C2 #7D3DC2 #BF3DC2
triadic
#7D3DC2 #C27D3D #3DC27D
tetradic
#7D3DC2 #C23D40 #82C23D #3DC2BF
square
#7D3DC2 #C23D40 #82C23D #3DC2BF
split-complementary
#7D3DC2 #C2BF3D #40C23D
monochromatic
#412065 #5F2E93 #7D3DC2 #9C6CD1 #BB9ADF

Accessibility & contrast

On white

6.33
#7D3DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7D3DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3DC2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3DC2#FFFFFF#000000##FFFFFF
##7D3DC21.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#6F5C7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d3dc2;
/* rgb */ color: rgb(125, 61, 194);
/* oklch */ color: oklch(51.1% 0.198 301.8);
Tailwind
colors: {
  custom: {
    50: '#a877d5',
    500: '#7d3dc2',
    950: '#000000',
  },
}
SCSS
$custom: #7d3dc2;
$custom-light: #a877d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3dc2",
  "rgb": {
    "r": 125,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 268.872,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.51091,
    "c": 0.19769,
    "h": 301.8
  },
  "luminance": 0.11593
}

Semantic roles & 50–950 ramp

primary
#7D3DC2
secondary
#AFCB90
accent
#DC4C97
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D3DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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