#7D3CCE#7D3CCE

#7D3CCE is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.212 H 299.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7D3CCE
RGBrgb(125, 60, 206)
HSLhsl(267, 60%, 52%)
HSVhsv(267, 71%, 81%)
CMYKcmyk(39.3%, 70.9%, 0%, 19.2%)
CIE-LABlab(41.29, 56.33, -64.81)
CIE-LCHlch(41.29, 85.87, 311.00°)
OKLaboklab(51.89% 0.1032 -0.185)
OKLCHoklch(51.89% 0.212 299.1)
XYZxyz(21.2111, 12.0477, 59.5885)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3CCE #8DCE3C
analogous
#3C44CE #7D3CCE #C63CCE
triadic
#7D3CCE #CE7D3C #3CCE7D
tetradic
#7D3CCE #CE3C44 #8DCE3C #3CCEC6
square
#7D3CCE #CE3C44 #8DCE3C #3CCEC6
split-complementary
#7D3CCE #CEC63C #44CE3C
monochromatic
#431D73 #6029A4 #7D3CCE #9E6DDA #BE9EE7

Accessibility & contrast

On white

6.16
#7D3CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7D3CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3CCE
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3CCE#FFFFFF#000000##FFFFFF
##7D3CCE1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d3cce;
/* rgb */ color: rgb(125, 60, 206);
/* oklch */ color: oklch(51.9% 0.212 299.1);
Tailwind
colors: {
  custom: {
    50: '#a977de',
    500: '#7d3cce',
    950: '#000000',
  },
}
SCSS
$custom: #7d3cce;
$custom-light: #a977de;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3cce",
  "rgb": {
    "r": 125,
    "g": 60,
    "b": 206
  },
  "hsl": {
    "h": 266.712,
    "s": 59.836,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51894,
    "c": 0.21185,
    "h": 299.1
  },
  "luminance": 0.12048
}

Semantic roles & 50–950 ramp

primary
#7D3CCE
secondary
#B6D393
accent
#E3459D
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7D3CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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