#7D3DCE#7D3DCE

#7D3DCE is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.0% C 0.211 H 299.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7D3DCE
RGBrgb(125, 61, 206)
HSLhsl(266, 60%, 52%)
HSVhsv(266, 70%, 81%)
CMYKcmyk(39.3%, 70.4%, 0%, 19.2%)
CIE-LABlab(41.46, 55.87, -64.54)
CIE-LCHlch(41.46, 85.36, 310.88°)
OKLaboklab(52.01% 0.1022 -0.1842)
OKLCHoklch(52.01% 0.211 299)
XYZxyz(21.2640, 12.1534, 59.6061)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3DCE #8ECE3D
analogous
#3D45CE #7D3DCE #C63DCE
triadic
#7D3DCE #CE7D3D #3DCE7D
tetradic
#7D3DCE #CE3D45 #8ECE3D #3DCEC6
square
#7D3DCE #CE3D45 #8ECE3D #3DCEC6
split-complementary
#7D3DCE #CEC63D #45CE3D
monochromatic
#431D73 #6029A4 #7D3DCE #9E6EDA #BE9FE7

Accessibility & contrast

On white

6.12
#7D3DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7D3DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3DCE
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3DCE#FFFFFF#000000##FFFFFF
##7D3DCE1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#6A6181
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7d3dce;
/* rgb */ color: rgb(125, 61, 206);
/* oklch */ color: oklch(52.0% 0.211 299.0);
Tailwind
colors: {
  custom: {
    50: '#a978de',
    500: '#7d3dce',
    950: '#000000',
  },
}
SCSS
$custom: #7d3dce;
$custom-light: #a978de;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3dce",
  "rgb": {
    "r": 125,
    "g": 61,
    "b": 206
  },
  "hsl": {
    "h": 266.483,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52013,
    "c": 0.2107,
    "h": 299
  },
  "luminance": 0.12154
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D3DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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