#7D39C1#7D39C1

#7D39C1 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.5% C 0.202 H 302.5°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7D39C1
RGBrgb(125, 57, 193)
HSLhsl(270, 54%, 49%)
HSVhsv(270, 70%, 76%)
CMYKcmyk(35.2%, 70.5%, 0%, 24.3%)
CIE-LABlab(39.81, 54.56, -59.67)
CIE-LCHlch(39.81, 80.85, 312.44°)
OKLaboklab(50.53% 0.1084 -0.1699)
OKLCHoklch(50.53% 0.202 302.5)
XYZxyz(19.5439, 11.1365, 51.5616)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D39C1 #7DC139
analogous
#3939C1 #7D39C1 #C139C1
triadic
#7D39C1 #C17D39 #39C17D
tetradic
#7D39C1 #C13939 #7DC139 #39C1C1
square
#7D39C1 #C13939 #7DC139 #39C1C1
split-complementary
#7D39C1 #C1C139 #39C139
monochromatic
#401D63 #5E2B92 #7D39C1 #9C66D2 #BA95E0

Accessibility & contrast

On white

6.51
#7D39C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7D39C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D39C1
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D39C1#FFFFFF#000000##FFFFFF
##7D39C11.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC5
Deuteranopia (green-blind)
#005DBE
Tritanopia (blue-blind)
#6F5979
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d39c1;
/* rgb */ color: rgb(125, 57, 193);
/* oklch */ color: oklch(50.5% 0.202 302.5);
Tailwind
colors: {
  custom: {
    50: '#a875d5',
    500: '#7d39c1',
    950: '#000000',
  },
}
SCSS
$custom: #7d39c1;
$custom-light: #a875d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d39c1",
  "rgb": {
    "r": 125,
    "g": 57,
    "b": 193
  },
  "hsl": {
    "h": 270,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50532,
    "c": 0.20153,
    "h": 302.5
  },
  "luminance": 0.11136
}

Semantic roles & 50–950 ramp

primary
#7D39C1
secondary
#ABCB8B
accent
#DE4A94
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D39C1

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

Preview Lab → · Contrast checker → · Palette generator →

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