#7D3CCD#7D3CCD

#7D3CCD is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.8% C 0.211 H 299.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7D3CCD
RGBrgb(125, 60, 205)
HSLhsl(267, 59%, 52%)
HSVhsv(267, 71%, 80%)
CMYKcmyk(39%, 70.7%, 0%, 19.6%)
CIE-LABlab(41.21, 56.09, -64.36)
CIE-LCHlch(41.21, 85.37, 311.07°)
OKLaboklab(51.82% 0.1034 -0.1837)
OKLCHoklch(51.82% 0.211 299.4)
XYZxyz(21.0900, 11.9992, 58.9507)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3CCD #8CCD3C
analogous
#3C43CD #7D3CCD #C63CCD
triadic
#7D3CCD #CD7D3C #3CCD7D
tetradic
#7D3CCD #CD3C43 #8CCD3C #3CCDC6
square
#7D3CCD #CD3C43 #8CCD3C #3CCDC6
split-complementary
#7D3CCD #CDC63C #43CD3C
monochromatic
#431D71 #602AA2 #7D3CCD #9D6DD9 #BE9DE6

Accessibility & contrast

On white

6.18
#7D3CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7D3CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3CCD
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3CCD#FFFFFF#000000##FFFFFF
##7D3CCD1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#6A6081
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7d3ccd;
/* rgb */ color: rgb(125, 60, 205);
/* oklch */ color: oklch(51.8% 0.211 299.4);
Tailwind
colors: {
  custom: {
    50: '#a977dd',
    500: '#7d3ccd',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ccd;
$custom-light: #a977dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ccd",
  "rgb": {
    "r": 125,
    "g": 60,
    "b": 205
  },
  "hsl": {
    "h": 266.897,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51816,
    "c": 0.21079,
    "h": 299.4
  },
  "luminance": 0.11999
}

Semantic roles & 50–950 ramp

primary
#7D3CCD
secondary
#B6D293
accent
#E2459C
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7D3CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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