#7A39D2#7A39D2

#7A39D2 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.5% C 0.219 H 297.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7A39D2
RGBrgb(122, 57, 210)
HSLhsl(265, 63%, 52%)
HSVhsv(265, 73%, 82%)
CMYKcmyk(41.9%, 72.9%, 0%, 17.6%)
CIE-LABlab(40.76, 58.18, -68.00)
CIE-LCHlch(40.76, 89.49, 310.55°)
OKLaboklab(51.54% 0.1009 -0.1945)
OKLCHoklch(51.54% 0.219 297.4)
XYZxyz(21.1190, 11.7166, 62.1091)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A39D2 #91D239
analogous
#3945D2 #7A39D2 #C639D2
triadic
#7A39D2 #D27A39 #39D27A
tetradic
#7A39D2 #D23945 #91D239 #39D2C6
square
#7A39D2 #D23945 #91D239 #39D2C6
split-complementary
#7A39D2 #D2C639 #45D239
monochromatic
#411B76 #5D26A8 #7A39D2 #9B6BDD #BD9DE9

Accessibility & contrast

On white

6.28
#7A39D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7A39D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A39D2
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A39D2#FFFFFF#000000##FFFFFF
##7A39D21.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#636082
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7a39d2;
/* rgb */ color: rgb(122, 57, 210);
/* oklch */ color: oklch(51.5% 0.219 297.4);
Tailwind
colors: {
  custom: {
    50: '#a875e1',
    500: '#7a39d2',
    950: '#000000',
  },
}
SCSS
$custom: #7a39d2;
$custom-light: #a875e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a39d2",
  "rgb": {
    "r": 122,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 265.49,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51538,
    "c": 0.21911,
    "h": 297.4
  },
  "luminance": 0.11717
}

Semantic roles & 50–950 ramp

primary
#7A39D2
secondary
#B8D592
accent
#E642A0
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7A39D2

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

Preview Lab → · Contrast checker → · Palette generator →

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