#7D39BE#7D39BE

#7D39BE is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.3% C 0.198 H 303.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#7D39BE
RGBrgb(125, 57, 190)
HSLhsl(271, 54%, 48%)
HSVhsv(271, 70%, 75%)
CMYKcmyk(34.2%, 70%, 0%, 25.5%)
CIE-LABlab(39.59, 53.84, -58.27)
CIE-LCHlch(39.59, 79.34, 312.74°)
OKLaboklab(50.3% 0.1089 -0.1658)
OKLCHoklch(50.3% 0.198 303.3)
XYZxyz(19.2127, 11.0039, 49.8170)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D39BE #7ABE39
analogous
#3B39BE #7D39BE #BE39BC
triadic
#7D39BE #BE7D39 #39BE7D
tetradic
#7D39BE #BE3B39 #7ABE39 #39BCBE
square
#7D39BE #BE3B39 #7ABE39 #39BCBE
split-complementary
#7D39BE #BCBE39 #39BE3B
monochromatic
#3F1D60 #5E2B8F #7D39BE #9B64D0 #BA93DF

Accessibility & contrast

On white

6.56
#7D39BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7D39BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D39BE
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D39BE#FFFFFF#000000##FFFFFF
##7D39BE1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#705877
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d39be;
/* rgb */ color: rgb(125, 57, 190);
/* oklch */ color: oklch(50.3% 0.198 303.3);
Tailwind
colors: {
  custom: {
    50: '#a875d2',
    500: '#7d39be',
    950: '#000000',
  },
}
SCSS
$custom: #7d39be;
$custom-light: #a875d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d39be",
  "rgb": {
    "r": 125,
    "g": 57,
    "b": 190
  },
  "hsl": {
    "h": 270.677,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50304,
    "c": 0.19834,
    "h": 303.3
  },
  "luminance": 0.11004
}

Semantic roles & 50–950 ramp

primary
#7D39BE
secondary
#A9CA89
accent
#DD4B92
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D39BE

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

Preview Lab → · Contrast checker → · Palette generator →

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