#7A39DB#7A39DB

#7A39DB is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.3% C 0.229 H 295.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7A39DB
RGBrgb(122, 57, 219)
HSLhsl(264, 69%, 54%)
HSVhsv(264, 74%, 86%)
CMYKcmyk(44.3%, 74%, 0%, 14.1%)
CIE-LABlab(41.50, 60.42, -71.97)
CIE-LCHlch(41.50, 93.97, 310.01°)
OKLaboklab(52.28% 0.0989 -0.2061)
OKLCHoklch(52.28% 0.229 295.6)
XYZxyz(22.2719, 12.1778, 68.1812)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A39DB #9ADB39
analogous
#3949DB #7A39DB #CB39DB
triadic
#7A39DB #DB7A39 #39DB7A
tetradic
#7A39DB #DB3949 #9ADB39 #39DBCB
square
#7A39DB #DB3949 #9ADB39 #39DBCB
split-complementary
#7A39DB #DBCB39 #49DB39
monochromatic
#421882 #5D21B6 #7A39DB #9D6DE4 #C0A1EE

Accessibility & contrast

On white

6.11
#7A39DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7A39DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A39DB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A39DB#FFFFFF#000000##FFFFFF
##7A39DB1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E0
Deuteranopia (green-blind)
#005FD8
Tritanopia (blue-blind)
#5F6488
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7a39db;
/* rgb */ color: rgb(122, 57, 219);
/* oklch */ color: oklch(52.3% 0.229 295.6);
Tailwind
colors: {
  custom: {
    50: '#a976e7',
    500: '#7a39db',
    950: '#000000',
  },
}
SCSS
$custom: #7a39db;
$custom-light: #a976e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a39db",
  "rgb": {
    "r": 122,
    "g": 57,
    "b": 219
  },
  "hsl": {
    "h": 264.074,
    "s": 69.231,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52283,
    "c": 0.22863,
    "h": 295.6
  },
  "luminance": 0.12178
}

Semantic roles & 50–950 ramp

primary
#7A39DB
secondary
#BFDA95
accent
#EC3CA5
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7A39DB

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

Preview Lab → · Contrast checker → · Palette generator →

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