#7D3CC2#7D3CC2

#7D3CC2 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 51.0% C 0.199 H 301.9°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7D3CC2
RGBrgb(125, 60, 194)
HSLhsl(269, 53%, 50%)
HSVhsv(269, 69%, 76%)
CMYKcmyk(35.6%, 69.1%, 0%, 23.9%)
CIE-LABlab(40.39, 53.39, -59.31)
CIE-LCHlch(40.39, 79.80, 311.99°)
OKLaboklab(50.97% 0.1052 -0.1689)
OKLCHoklch(50.97% 0.199 301.9)
XYZxyz(19.8086, 11.4867, 52.2020)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3CC2 #81C23C
analogous
#3C3EC2 #7D3CC2 #C03CC2
triadic
#7D3CC2 #C27D3C #3CC27D
tetradic
#7D3CC2 #C23C3E #81C23C #3CC2C0
square
#7D3CC2 #C23C3E #81C23C #3CC2C0
split-complementary
#7D3CC2 #C2C03C #3EC23C
monochromatic
#411F65 #5F2E93 #7D3CC2 #9C6AD1 #BB99DF

Accessibility & contrast

On white

6.37
#7D3CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7D3CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3CC2
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3CC2#FFFFFF#000000##FFFFFF
##7D3CC21.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#6F5B7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d3cc2;
/* rgb */ color: rgb(125, 60, 194);
/* oklch */ color: oklch(51.0% 0.199 301.9);
Tailwind
colors: {
  custom: {
    50: '#a877d5',
    500: '#7d3cc2',
    950: '#000000',
  },
}
SCSS
$custom: #7d3cc2;
$custom-light: #a877d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3cc2",
  "rgb": {
    "r": 125,
    "g": 60,
    "b": 194
  },
  "hsl": {
    "h": 269.104,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50968,
    "c": 0.19894,
    "h": 301.9
  },
  "luminance": 0.11487
}

Semantic roles & 50–950 ramp

primary
#7D3CC2
secondary
#AECB8F
accent
#DC4C96
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D3CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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