#7D3DC0#7D3DC0

#7D3DC0 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.9% C 0.196 H 302.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7D3DC0
RGBrgb(125, 61, 192)
HSLhsl(269, 52%, 50%)
HSVhsv(269, 68%, 75%)
CMYKcmyk(34.9%, 68.2%, 0%, 24.7%)
CIE-LABlab(40.42, 52.42, -58.10)
CIE-LCHlch(40.42, 78.25, 312.06°)
OKLaboklab(50.94% 0.1044 -0.1653)
OKLCHoklch(50.94% 0.196 302.3)
XYZxyz(19.6384, 11.5032, 51.0447)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3DC0 #80C03D
analogous
#3D3EC0 #7D3DC0 #BF3DC0
triadic
#7D3DC0 #C07D3D #3DC07D
tetradic
#7D3DC0 #C03D3E #80C03D #3DC0BF
square
#7D3DC0 #C03D3E #80C03D #3DC0BF
split-complementary
#7D3DC0 #C0BF3D #3EC03D
monochromatic
#411F63 #5F2E92 #7D3DC0 #9C6AD0 #BB99DF

Accessibility & contrast

On white

6.36
#7D3DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7D3DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3DC0
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3DC0#FFFFFF#000000##FFFFFF
##7D3DC01.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#6F5B7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d3dc0;
/* rgb */ color: rgb(125, 61, 192);
/* oklch */ color: oklch(50.9% 0.196 302.3);
Tailwind
colors: {
  custom: {
    50: '#a877d4',
    500: '#7d3dc0',
    950: '#000000',
  },
}
SCSS
$custom: #7d3dc0;
$custom-light: #a877d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3dc0",
  "rgb": {
    "r": 125,
    "g": 61,
    "b": 192
  },
  "hsl": {
    "h": 269.313,
    "s": 51.779,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50941,
    "c": 0.19552,
    "h": 302.3
  },
  "luminance": 0.11503
}

Semantic roles & 50–950 ramp

primary
#7D3DC0
secondary
#ADCA8E
accent
#DB4D96
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D3DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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