#7336AB#7336AB

#7336AB is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.3% C 0.179 H 304.2°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7336AB
RGBrgb(115, 54, 171)
HSLhsl(271, 52%, 44%)
HSVhsv(271, 68%, 67%)
CMYKcmyk(32.7%, 68.4%, 0%, 32.9%)
CIE-LABlab(36.41, 48.65, -52.24)
CIE-LCHlch(36.41, 71.39, 312.96°)
OKLaboklab(47.32% 0.1009 -0.1484)
OKLCHoklch(47.32% 0.179 304.2)
XYZxyz(15.7384, 9.2235, 39.4714)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7336AB #6EAB36
analogous
#3936AB #7336AB #AB36A9
triadic
#7336AB #AB7336 #36AB73
tetradic
#7336AB #AB3936 #6EAB36 #36A9AB
square
#7336AB #AB3936 #6EAB36 #36A9AB
split-complementary
#7336AB #A9AB36 #36AB39
monochromatic
#34194E #54277C #7336AB #9255C9 #B083D8

Accessibility & contrast

On white

7.38
#7336AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7336AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7336AB
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7336AB#FFFFFF#000000##FFFFFF
##7336AB1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#0656A8
Tritanopia (blue-blind)
#68506C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7336ab;
/* rgb */ color: rgb(115, 54, 171);
/* oklch */ color: oklch(47.3% 0.179 304.2);
Tailwind
colors: {
  custom: {
    50: '#a072c5',
    500: '#7336ab',
    950: '#000000',
  },
}
SCSS
$custom: #7336ab;
$custom-light: #a072c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7336ab",
  "rgb": {
    "r": 115,
    "g": 54,
    "b": 171
  },
  "hsl": {
    "h": 271.282,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47321,
    "c": 0.17946,
    "h": 304.2
  },
  "luminance": 0.09223
}

Semantic roles & 50–950 ramp

primary
#7336AB
secondary
#9DC27B
accent
#DB4C91
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7336AB

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

Preview Lab → · Contrast checker → · Palette generator →

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