#7D39C0#7D39C0

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

Color values

HEX#7D39C0
RGBrgb(125, 57, 192)
HSLhsl(270, 54%, 49%)
HSVhsv(270, 70%, 75%)
CMYKcmyk(34.9%, 70.3%, 0%, 24.7%)
CIE-LABlab(39.73, 54.32, -59.20)
CIE-LCHlch(39.73, 80.35, 312.54°)
OKLaboklab(50.46% 0.1086 -0.1685)
OKLCHoklch(50.46% 0.2 302.8)
XYZxyz(19.4328, 11.0920, 50.9761)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D39C0 #7CC039
analogous
#3939C0 #7D39C0 #C039C0
triadic
#7D39C0 #C07D39 #39C07D
tetradic
#7D39C0 #C03939 #7CC039 #39C0C0
square
#7D39C0 #C03939 #7CC039 #39C0C0
split-complementary
#7D39C0 #C0C039 #39C039
monochromatic
#401D62 #5E2B91 #7D39C0 #9C65D1 #BA94DF

Accessibility & contrast

On white

6.52
#7D39C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7D39C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D39C0
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D39C0#FFFFFF#000000##FFFFFF
##7D39C01.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#6F5978
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d39c0;
/* rgb */ color: rgb(125, 57, 192);
/* oklch */ color: oklch(50.5% 0.200 302.8);
Tailwind
colors: {
  custom: {
    50: '#a875d4',
    500: '#7d39c0',
    950: '#000000',
  },
}
SCSS
$custom: #7d39c0;
$custom-light: #a875d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d39c0",
  "rgb": {
    "r": 125,
    "g": 57,
    "b": 192
  },
  "hsl": {
    "h": 270.222,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50456,
    "c": 0.20046,
    "h": 302.8
  },
  "luminance": 0.11092
}

Semantic roles & 50–950 ramp

primary
#7D39C0
secondary
#AACB8A
accent
#DE4A93
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D39C0

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

Preview Lab → · Contrast checker → · Palette generator →

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