#7A39BF#7A39BF

#7A39BF is a mid, vivid violet. Relative luminance 0.108; OKLCH L 50.0% C 0.199 H 301.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7A39BF
RGBrgb(122, 57, 191)
HSLhsl(269, 54%, 49%)
HSVhsv(269, 70%, 75%)
CMYKcmyk(36.1%, 70.2%, 0%, 25.1%)
CIE-LABlab(39.28, 53.50, -59.37)
CIE-LCHlch(39.28, 79.91, 312.02°)
OKLaboklab(50.03% 0.1046 -0.1691)
OKLCHoklch(50.03% 0.199 301.7)
XYZxyz(18.8909, 10.8253, 50.3744)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A39BF #7EBF39
analogous
#393BBF #7A39BF #BD39BF
triadic
#7A39BF #BF7A39 #39BF7A
tetradic
#7A39BF #BF393B #7EBF39 #39BFBD
square
#7A39BF #BF393B #7EBF39 #39BFBD
split-complementary
#7A39BF #BFBD39 #3BBF39
monochromatic
#3E1D61 #5C2B90 #7A39BF #9964D1 #B893DF

Accessibility & contrast

On white

6.64
#7A39BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7A39BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A39BF
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A39BF#FFFFFF#000000##FFFFFF
##7A39BF1.006.643.176.64
#FFFFFF6.641.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#6B5978
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7a39bf;
/* rgb */ color: rgb(122, 57, 191);
/* oklch */ color: oklch(50.0% 0.199 301.7);
Tailwind
colors: {
  custom: {
    50: '#a675d3',
    500: '#7a39bf',
    950: '#000000',
  },
}
SCSS
$custom: #7a39bf;
$custom-light: #a675d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a39bf",
  "rgb": {
    "r": 122,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 269.104,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5003,
    "c": 0.19882,
    "h": 301.7
  },
  "luminance": 0.10825
}

Semantic roles & 50–950 ramp

primary
#7A39BF
secondary
#ABCA8A
accent
#DD4A96
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A39BF

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

Preview Lab → · Contrast checker → · Palette generator →

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