#7A39CA#7A39CA

#7A39CA is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.9% C 0.211 H 299.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#7A39CA
RGBrgb(122, 57, 202)
HSLhsl(267, 58%, 51%)
HSVhsv(267, 72%, 79%)
CMYKcmyk(39.6%, 71.8%, 0%, 20.8%)
CIE-LABlab(40.13, 56.20, -64.41)
CIE-LCHlch(40.13, 85.48, 311.10°)
OKLaboklab(50.89% 0.1026 -0.1839)
OKLCHoklch(50.89% 0.211 299.1)
XYZxyz(20.1471, 11.3278, 56.9907)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A39CA #89CA39
analogous
#3940CA #7A39CA #C339CA
triadic
#7A39CA #CA7A39 #39CA7A
tetradic
#7A39CA #CA3940 #89CA39 #39CAC3
square
#7A39CA #CA3940 #89CA39 #39CAC3
split-complementary
#7A39CA #CAC339 #40CA39
monochromatic
#401D6C #5D2A9C #7A39CA #9A69D7 #BB9AE4

Accessibility & contrast

On white

6.43
#7A39CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7A39CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A39CA
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A39CA#FFFFFF#000000##FFFFFF
##7A39CA1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#675D7E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7a39ca;
/* rgb */ color: rgb(122, 57, 202);
/* oklch */ color: oklch(50.9% 0.211 299.1);
Tailwind
colors: {
  custom: {
    50: '#a775db',
    500: '#7a39ca',
    950: '#000000',
  },
}
SCSS
$custom: #7a39ca;
$custom-light: #a775db;
$custom-dark: #000000;
JSON
{
  "hex": "#7a39ca",
  "rgb": {
    "r": 122,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 266.897,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50892,
    "c": 0.21061,
    "h": 299.1
  },
  "luminance": 0.11328
}

Semantic roles & 50–950 ramp

primary
#7A39CA
secondary
#B3D08F
accent
#E1479C
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A39CA

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

Preview Lab → · Contrast checker → · Palette generator →

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