#7D39C9#7D39C9

#7D39C9 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.2% C 0.210 H 300.6°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7D39C9
RGBrgb(125, 57, 201)
HSLhsl(268, 57%, 51%)
HSVhsv(268, 72%, 79%)
CMYKcmyk(37.8%, 71.6%, 0%, 21.2%)
CIE-LABlab(40.42, 56.49, -63.34)
CIE-LCHlch(40.42, 84.87, 311.73°)
OKLaboklab(51.15% 0.107 -0.1807)
OKLCHoklch(51.15% 0.21 300.6)
XYZxyz(20.4606, 11.5031, 56.3894)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D39C9 #85C939
analogous
#393DC9 #7D39C9 #C539C9
triadic
#7D39C9 #C97D39 #39C97D
tetradic
#7D39C9 #C9393D #85C939 #39C9C5
square
#7D39C9 #C9393D #85C939 #39C9C5
split-complementary
#7D39C9 #C9C539 #3DC939
monochromatic
#421D6B #5F2A9B #7D39C9 #9D69D6 #BC99E3

Accessibility & contrast

On white

6.36
#7D39C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D39C9
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D39C9#FFFFFF#000000##FFFFFF
##7D39C91.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d39c9;
/* rgb */ color: rgb(125, 57, 201);
/* oklch */ color: oklch(51.2% 0.210 300.6);
Tailwind
colors: {
  custom: {
    50: '#a975da',
    500: '#7d39c9',
    950: '#000000',
  },
}
SCSS
$custom: #7d39c9;
$custom-light: #a975da;
$custom-dark: #000000;
JSON
{
  "hex": "#7d39c9",
  "rgb": {
    "r": 125,
    "g": 57,
    "b": 201
  },
  "hsl": {
    "h": 268.333,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51152,
    "c": 0.20999,
    "h": 300.6
  },
  "luminance": 0.11503
}

Semantic roles & 50–950 ramp

primary
#7D39C9
secondary
#B1CF8F
accent
#E04798
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D39C9

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

Preview Lab → · Contrast checker → · Palette generator →

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