#7D39BF#7D39BF

#7D39BF is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.4% C 0.199 H 303.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7D39BF
RGBrgb(125, 57, 191)
HSLhsl(270, 54%, 49%)
HSVhsv(270, 70%, 75%)
CMYKcmyk(34.6%, 70.2%, 0%, 25.1%)
CIE-LABlab(39.66, 54.08, -58.74)
CIE-LCHlch(39.66, 79.84, 312.64°)
OKLaboklab(50.38% 0.1087 -0.1672)
OKLCHoklch(50.38% 0.199 303)
XYZxyz(19.3223, 11.0478, 50.3946)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D39BF #7BBF39
analogous
#3A39BF #7D39BF #BF39BE
triadic
#7D39BF #BF7D39 #39BF7D
tetradic
#7D39BF #BF3A39 #7BBF39 #39BEBF
square
#7D39BF #BF3A39 #7BBF39 #39BEBF
split-complementary
#7D39BF #BEBF39 #39BF3A
monochromatic
#3F1D61 #5E2B90 #7D39BF #9B64D1 #BA93DF

Accessibility & contrast

On white

6.54
#7D39BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7D39BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D39BF
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D39BF#FFFFFF#000000##FFFFFF
##7D39BF1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#705978
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d39bf;
/* rgb */ color: rgb(125, 57, 191);
/* oklch */ color: oklch(50.4% 0.199 303.0);
Tailwind
colors: {
  custom: {
    50: '#a875d3',
    500: '#7d39bf',
    950: '#000000',
  },
}
SCSS
$custom: #7d39bf;
$custom-light: #a875d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d39bf",
  "rgb": {
    "r": 125,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 270.448,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5038,
    "c": 0.1994,
    "h": 303
  },
  "luminance": 0.11048
}

Semantic roles & 50–950 ramp

primary
#7D39BF
secondary
#A9CA8A
accent
#DD4A93
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D39BF

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

Preview Lab → · Contrast checker → · Palette generator →

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