#7336AC#7336AC

#7336AC is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.4% C 0.181 H 303.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7336AC
RGBrgb(115, 54, 172)
HSLhsl(271, 52%, 44%)
HSVhsv(271, 69%, 67%)
CMYKcmyk(33.1%, 68.6%, 0%, 32.5%)
CIE-LABlab(36.48, 48.90, -52.72)
CIE-LCHlch(36.48, 71.91, 312.85°)
OKLaboklab(47.4% 0.1008 -0.1498)
OKLCHoklch(47.4% 0.181 303.9)
XYZxyz(15.8341, 9.2618, 39.9752)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7336AC #6FAC36
analogous
#3836AC #7336AC #AC36AA
triadic
#7336AC #AC7336 #36AC73
tetradic
#7336AC #AC3836 #6FAC36 #36AAAC
square
#7336AC #AC3836 #6FAC36 #36AAAC
split-complementary
#7336AC #AAAC36 #36AC38
monochromatic
#35194F #54277D #7336AC #9255CA #B084D8

Accessibility & contrast

On white

7.36
#7336AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7336AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7336AC
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7336AC#FFFFFF#000000##FFFFFF
##7336AC1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B0
Deuteranopia (green-blind)
#0256A9
Tritanopia (blue-blind)
#68516D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7336ac;
/* rgb */ color: rgb(115, 54, 172);
/* oklch */ color: oklch(47.4% 0.181 303.9);
Tailwind
colors: {
  custom: {
    50: '#a072c5',
    500: '#7336ac',
    950: '#000000',
  },
}
SCSS
$custom: #7336ac;
$custom-light: #a072c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7336ac",
  "rgb": {
    "r": 115,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 271.017,
    "s": 52.212,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47396,
    "c": 0.18055,
    "h": 303.9
  },
  "luminance": 0.09262
}

Semantic roles & 50–950 ramp

primary
#7336AC
secondary
#9EC27C
accent
#DC4C91
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7336AC

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

Preview Lab → · Contrast checker → · Palette generator →

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