#7339AC#7339AC

#7339AC is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.8% C 0.177 H 303.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#7339AC
RGBrgb(115, 57, 172)
HSLhsl(270, 50%, 45%)
HSVhsv(270, 67%, 67%)
CMYKcmyk(33.1%, 66.9%, 0%, 32.5%)
CIE-LABlab(37.02, 47.41, -51.85)
CIE-LCHlch(37.02, 70.26, 312.44°)
OKLaboklab(47.78% 0.0974 -0.1473)
OKLCHoklch(47.78% 0.177 303.5)
XYZxyz(15.9780, 9.5497, 40.0232)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7339AC #72AC39
analogous
#3A39AC #7339AC #AC39AB
triadic
#7339AC #AC7339 #39AC73
tetradic
#7339AC #AC3A39 #72AC39 #39ABAC
square
#7339AC #AC3A39 #72AC39 #39ABAC
split-complementary
#7339AC #ABAC39 #39AC3A
monochromatic
#361B50 #542A7E #7339AC #925AC8 #B088D8

Accessibility & contrast

On white

7.22
#7339AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7339AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7339AC
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7339AC#FFFFFF#000000##FFFFFF
##7339AC1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#0D57AA
Tritanopia (blue-blind)
#68536E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7339ac;
/* rgb */ color: rgb(115, 57, 172);
/* oklch */ color: oklch(47.8% 0.177 303.5);
Tailwind
colors: {
  custom: {
    50: '#a073c5',
    500: '#7339ac',
    950: '#000000',
  },
}
SCSS
$custom: #7339ac;
$custom-light: #a073c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7339ac",
  "rgb": {
    "r": 115,
    "g": 57,
    "b": 172
  },
  "hsl": {
    "h": 270.261,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47782,
    "c": 0.17658,
    "h": 303.5
  },
  "luminance": 0.0955
}

Semantic roles & 50–950 ramp

primary
#7339AC
secondary
#A0C27F
accent
#DA4E93
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7339AC

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

Preview Lab → · Contrast checker → · Palette generator →

#7339AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva