#7A339F#7A339F

#7A339F is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.0% C 0.173 H 311.8°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#7A339F
RGBrgb(122, 51, 159)
HSLhsl(279, 51%, 41%)
HSVhsv(279, 68%, 62%)
CMYKcmyk(23.3%, 67.9%, 0%, 37.6%)
CIE-LABlab(36.00, 48.83, -45.65)
CIE-LCHlch(36.00, 66.85, 316.93°)
OKLaboklab(46.96% 0.1151 -0.1288)
OKLCHoklch(46.96% 0.173 311.8)
XYZxyz(15.4667, 9.0088, 33.7183)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A339F #589F33
analogous
#44339F #7A339F #9F338E
triadic
#7A339F #9F7A33 #339F7A
tetradic
#7A339F #9F4433 #589F33 #338E9F
square
#7A339F #9F4433 #589F33 #338E9F
split-complementary
#7A339F #8E9F33 #339F44
monochromatic
#331542 #562471 #7A339F #9B4AC5 #B579D4

Accessibility & contrast

On white

7.50
#7A339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7A339F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A339F
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A339F#FFFFFF#000000##FFFFFF
##7A339F1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#28569D
Tritanopia (blue-blind)
#764965
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7a339f;
/* rgb */ color: rgb(122, 51, 159);
/* oklch */ color: oklch(47.0% 0.173 311.8);
Tailwind
colors: {
  custom: {
    50: '#a470bc',
    500: '#7a339f',
    950: '#000000',
  },
}
SCSS
$custom: #7a339f;
$custom-light: #a470bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a339f",
  "rgb": {
    "r": 122,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 279.444,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46964,
    "c": 0.17269,
    "h": 311.8
  },
  "luminance": 0.09008
}

Semantic roles & 50–950 ramp

primary
#7A339F
secondary
#8BBC71
accent
#DB4D7E
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7A339F

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

Preview Lab → · Contrast checker → · Palette generator →

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