#7D39B8#7D39B8

#7D39B8 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.9% C 0.192 H 304.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7D39B8
RGBrgb(125, 57, 184)
HSLhsl(272, 53%, 47%)
HSVhsv(272, 69%, 72%)
CMYKcmyk(32.1%, 69%, 0%, 27.8%)
CIE-LABlab(39.15, 52.41, -55.45)
CIE-LCHlch(39.15, 76.30, 313.39°)
OKLaboklab(49.86% 0.1097 -0.1575)
OKLCHoklch(49.86% 0.192 304.9)
XYZxyz(18.5704, 10.7470, 46.4342)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D39B8 #74B839
analogous
#3E39B8 #7D39B8 #B839B4
triadic
#7D39B8 #B87D39 #39B87D
tetradic
#7D39B8 #B83E39 #74B839 #39B4B8
square
#7D39B8 #B83E39 #74B839 #39B4B8
split-complementary
#7D39B8 #B4B839 #39B83E
monochromatic
#3E1C5B #5D2B89 #7D39B8 #9B60CE #B88FDC

Accessibility & contrast

On white

6.67
#7D39B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7D39B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D39B8
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D39B8#FFFFFF#000000##FFFFFF
##7D39B81.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#045CB5
Tritanopia (blue-blind)
#725674
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d39b8;
/* rgb */ color: rgb(125, 57, 184);
/* oklch */ color: oklch(49.9% 0.192 304.9);
Tailwind
colors: {
  custom: {
    50: '#a775ce',
    500: '#7d39b8',
    950: '#000000',
  },
}
SCSS
$custom: #7d39b8;
$custom-light: #a775ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7d39b8",
  "rgb": {
    "r": 125,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 272.126,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49856,
    "c": 0.19197,
    "h": 304.9
  },
  "luminance": 0.10747
}

Semantic roles & 50–950 ramp

primary
#7D39B8
secondary
#A4C786
accent
#DC4C8F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7D39B8

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

Preview Lab → · Contrast checker → · Palette generator →

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