#7D39C8#7D39C8

#7D39C8 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.1% C 0.209 H 300.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7D39C8
RGBrgb(125, 57, 200)
HSLhsl(269, 57%, 50%)
HSVhsv(269, 72%, 78%)
CMYKcmyk(37.5%, 71.5%, 0%, 21.6%)
CIE-LABlab(40.34, 56.25, -62.89)
CIE-LCHlch(40.34, 84.37, 311.81°)
OKLaboklab(51.07% 0.1072 -0.1794)
OKLCHoklch(51.07% 0.209 300.9)
XYZxyz(20.3434, 11.4562, 55.7719)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D39C8 #84C839
analogous
#393DC8 #7D39C8 #C439C8
triadic
#7D39C8 #C87D39 #39C87D
tetradic
#7D39C8 #C8393D #84C839 #39C8C4
square
#7D39C8 #C8393D #84C839 #39C8C4
split-complementary
#7D39C8 #C8C439 #3DC839
monochromatic
#411D69 #5F2B99 #7D39C8 #9C69D5 #BC99E3

Accessibility & contrast

On white

6.38
#7D39C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7D39C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D39C8
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D39C8#FFFFFF#000000##FFFFFF
##7D39C81.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#6C5C7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d39c8;
/* rgb */ color: rgb(125, 57, 200);
/* oklch */ color: oklch(51.1% 0.209 300.9);
Tailwind
colors: {
  custom: {
    50: '#a975da',
    500: '#7d39c8',
    950: '#000000',
  },
}
SCSS
$custom: #7d39c8;
$custom-light: #a975da;
$custom-dark: #000000;
JSON
{
  "hex": "#7d39c8",
  "rgb": {
    "r": 125,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 268.531,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51074,
    "c": 0.20893,
    "h": 300.9
  },
  "luminance": 0.11456
}

Semantic roles & 50–950 ramp

primary
#7D39C8
secondary
#B0CE8F
accent
#E04898
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D39C8

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

Preview Lab → · Contrast checker → · Palette generator →

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