#7A39CC#7A39CC

#7A39CC is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.1% C 0.213 H 298.7°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#7A39CC
RGBrgb(122, 57, 204)
HSLhsl(267, 59%, 51%)
HSVhsv(267, 72%, 80%)
CMYKcmyk(40.2%, 72.1%, 0%, 20%)
CIE-LABlab(40.28, 56.69, -65.31)
CIE-LCHlch(40.28, 86.48, 310.96°)
OKLaboklab(51.05% 0.1022 -0.1866)
OKLCHoklch(51.05% 0.213 298.7)
XYZxyz(20.3855, 11.4232, 58.2459)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A39CC #8BCC39
analogous
#3941CC #7A39CC #C439CC
triadic
#7A39CC #CC7A39 #39CC7A
tetradic
#7A39CC #CC3941 #8BCC39 #39CCC4
square
#7A39CC #CC3941 #8BCC39 #39CCC4
split-complementary
#7A39CC #CCC439 #41CC39
monochromatic
#411C6E #5D299F #7A39CC #9B6AD9 #BB9AE5

Accessibility & contrast

On white

6.39
#7A39CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7A39CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A39CC
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A39CC#FFFFFF#000000##FFFFFF
##7A39CC1.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#665E7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7a39cc;
/* rgb */ color: rgb(122, 57, 204);
/* oklch */ color: oklch(51.1% 0.213 298.7);
Tailwind
colors: {
  custom: {
    50: '#a775dd',
    500: '#7a39cc',
    950: '#000000',
  },
}
SCSS
$custom: #7a39cc;
$custom-light: #a775dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a39cc",
  "rgb": {
    "r": 122,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 266.531,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51052,
    "c": 0.21274,
    "h": 298.7
  },
  "luminance": 0.11423
}

Semantic roles & 50–950 ramp

primary
#7A39CC
secondary
#B4D190
accent
#E2469D
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A39CC

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

Preview Lab → · Contrast checker → · Palette generator →

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