#7A39C7#7A39C7

#7A39C7 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.7% C 0.207 H 299.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7A39C7
RGBrgb(122, 57, 199)
HSLhsl(267, 56%, 50%)
HSVhsv(267, 71%, 78%)
CMYKcmyk(38.7%, 71.4%, 0%, 22%)
CIE-LABlab(39.89, 55.46, -63.05)
CIE-LCHlch(39.89, 83.97, 311.34°)
OKLaboklab(50.65% 0.1032 -0.1799)
OKLCHoklch(50.65% 0.207 299.8)
XYZxyz(19.7954, 11.1871, 55.1382)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A39C7 #86C739
analogous
#393FC7 #7A39C7 #C139C7
triadic
#7A39C7 #C77A39 #39C77A
tetradic
#7A39C7 #C7393F #86C739 #39C7C1
square
#7A39C7 #C7393F #86C739 #39C7C1
split-complementary
#7A39C7 #C7C139 #3FC739
monochromatic
#401D68 #5D2B98 #7A39C7 #9A69D4 #BA98E2

Accessibility & contrast

On white

6.49
#7A39C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7A39C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A39C7
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A39C7#FFFFFF#000000##FFFFFF
##7A39C71.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#005DC4
Tritanopia (blue-blind)
#685C7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a39c7;
/* rgb */ color: rgb(122, 57, 199);
/* oklch */ color: oklch(50.7% 0.207 299.8);
Tailwind
colors: {
  custom: {
    50: '#a775d9',
    500: '#7a39c7',
    950: '#000000',
  },
}
SCSS
$custom: #7a39c7;
$custom-light: #a775d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a39c7",
  "rgb": {
    "r": 122,
    "g": 57,
    "b": 199
  },
  "hsl": {
    "h": 267.465,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50653,
    "c": 0.2074,
    "h": 299.8
  },
  "luminance": 0.11187
}

Semantic roles & 50–950 ramp

primary
#7A39C7
secondary
#B1CE8E
accent
#DF499A
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A39C7

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

Preview Lab → · Contrast checker → · Palette generator →

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