#7D3DCC#7D3DCC

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

Color values

HEX#7D3DCC
RGBrgb(125, 61, 204)
HSLhsl(267, 58%, 52%)
HSVhsv(267, 70%, 80%)
CMYKcmyk(38.7%, 70.1%, 0%, 20%)
CIE-LABlab(41.31, 55.37, -63.63)
CIE-LCHlch(41.31, 84.35, 311.03°)
OKLaboklab(51.86% 0.1026 -0.1816)
OKLCHoklch(51.86% 0.209 299.5)
XYZxyz(21.0225, 12.0569, 58.3347)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3DCC #8CCC3D
analogous
#3D45CC #7D3DCC #C43DCC
triadic
#7D3DCC #CC7D3D #3DCC7D
tetradic
#7D3DCC #CC3D45 #8CCC3D #3DCCC4
square
#7D3DCC #CC3D45 #8CCC3D #3DCCC4
split-complementary
#7D3DCC #CCC43D #45CC3D
monochromatic
#431E71 #602AA1 #7D3DCC #9D6DD9 #BE9EE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D3DCC#FFFFFF#000000##FFFFFF
##7D3DCC1.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)
#0061D0
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#6B6080
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7d3dcc;
/* rgb */ color: rgb(125, 61, 204);
/* oklch */ color: oklch(51.9% 0.209 299.5);
Tailwind
colors: {
  custom: {
    50: '#a978dc',
    500: '#7d3dcc',
    950: '#000000',
  },
}
SCSS
$custom: #7d3dcc;
$custom-light: #a978dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3dcc",
  "rgb": {
    "r": 125,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 266.853,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51857,
    "c": 0.20854,
    "h": 299.5
  },
  "luminance": 0.12057
}

Semantic roles & 50–950 ramp

primary
#7D3DCC
secondary
#B6D293
accent
#E2469C
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D3DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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