#7D39CA#7D39CA

#7D39CA is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.2% C 0.211 H 300.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#7D39CA
RGBrgb(125, 57, 202)
HSLhsl(268, 58%, 51%)
HSVhsv(268, 72%, 79%)
CMYKcmyk(38.1%, 71.8%, 0%, 20.8%)
CIE-LABlab(40.49, 56.73, -63.80)
CIE-LCHlch(40.49, 85.38, 311.65°)
OKLaboklab(51.23% 0.1068 -0.182)
OKLCHoklch(51.23% 0.211 300.4)
XYZxyz(20.5786, 11.5503, 57.0109)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D39CA #86CA39
analogous
#393DCA #7D39CA #C539CA
triadic
#7D39CA #CA7D39 #39CA7D
tetradic
#7D39CA #CA393D #86CA39 #39CAC5
square
#7D39CA #CA393D #86CA39 #39CAC5
split-complementary
#7D39CA #CAC539 #3DCA39
monochromatic
#421D6C #5F2A9C #7D39CA #9D69D7 #BC9AE4

Accessibility & contrast

On white

6.34
#7D39CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7D39CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D39CA
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D39CA#FFFFFF#000000##FFFFFF
##7D39CA1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#6C5D7E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d39ca;
/* rgb */ color: rgb(125, 57, 202);
/* oklch */ color: oklch(51.2% 0.211 300.4);
Tailwind
colors: {
  custom: {
    50: '#a975db',
    500: '#7d39ca',
    950: '#000000',
  },
}
SCSS
$custom: #7d39ca;
$custom-light: #a975db;
$custom-dark: #000000;
JSON
{
  "hex": "#7d39ca",
  "rgb": {
    "r": 125,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 268.138,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51231,
    "c": 0.21105,
    "h": 300.4
  },
  "luminance": 0.1155
}

Semantic roles & 50–950 ramp

primary
#7D39CA
secondary
#B1D08F
accent
#E14799
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7D39CA

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

Preview Lab → · Contrast checker → · Palette generator →

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