#7D3DCA#7D3DCA

#7D3DCA is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.7% C 0.206 H 299.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7D3DCA
RGBrgb(125, 61, 202)
HSLhsl(267, 57%, 52%)
HSVhsv(267, 70%, 79%)
CMYKcmyk(38.1%, 69.8%, 0%, 20.8%)
CIE-LABlab(41.15, 54.88, -62.72)
CIE-LCHlch(41.15, 83.34, 311.18°)
OKLaboklab(51.7% 0.1029 -0.1789)
OKLCHoklch(51.7% 0.206 299.9)
XYZxyz(20.7842, 11.9615, 57.0795)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3DCA #8ACA3D
analogous
#3D44CA #7D3DCA #C43DCA
triadic
#7D3DCA #CA7D3D #3DCA7D
tetradic
#7D3DCA #CA3D44 #8ACA3D #3DCAC4
square
#7D3DCA #CA3D44 #8ACA3D #3DCAC4
split-complementary
#7D3DCA #CAC43D #44CA3D
monochromatic
#431E6E #602B9F #7D3DCA #9D6DD7 #BD9DE4

Accessibility & contrast

On white

6.19
#7D3DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7D3DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3DCA
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3DCA#FFFFFF#000000##FFFFFF
##7D3DCA1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#6B5F7F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7d3dca;
/* rgb */ color: rgb(125, 61, 202);
/* oklch */ color: oklch(51.7% 0.206 299.9);
Tailwind
colors: {
  custom: {
    50: '#a977db',
    500: '#7d3dca',
    950: '#000000',
  },
}
SCSS
$custom: #7d3dca;
$custom-light: #a977db;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3dca",
  "rgb": {
    "r": 125,
    "g": 61,
    "b": 202
  },
  "hsl": {
    "h": 267.234,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51702,
    "c": 0.20637,
    "h": 299.9
  },
  "luminance": 0.11962
}

Semantic roles & 50–950 ramp

primary
#7D3DCA
secondary
#B4D092
accent
#E0479B
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D3DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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