#7337AC#7337AC

#7337AC is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.5% C 0.179 H 303.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7337AC
RGBrgb(115, 55, 172)
HSLhsl(271, 52%, 45%)
HSVhsv(271, 68%, 67%)
CMYKcmyk(33.1%, 68%, 0%, 32.5%)
CIE-LABlab(36.66, 48.41, -52.43)
CIE-LCHlch(36.66, 71.36, 312.71°)
OKLaboklab(47.52% 0.0997 -0.149)
OKLCHoklch(47.52% 0.179 303.8)
XYZxyz(15.8811, 9.3558, 39.9909)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7337AC #70AC37
analogous
#3837AC #7337AC #AC37AB
triadic
#7337AC #AC7337 #37AC73
tetradic
#7337AC #AC3837 #70AC37 #37ABAC
square
#7337AC #AC3837 #70AC37 #37ABAC
split-complementary
#7337AC #ABAC37 #37AC38
monochromatic
#35194F #54287E #7337AC #9257C9 #B085D8

Accessibility & contrast

On white

7.31
#7337AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7337AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7337AC
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7337AC#FFFFFF#000000##FFFFFF
##7337AC1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7337ac;
/* rgb */ color: rgb(115, 55, 172);
/* oklch */ color: oklch(47.5% 0.179 303.8);
Tailwind
colors: {
  custom: {
    50: '#a072c5',
    500: '#7337ac',
    950: '#000000',
  },
}
SCSS
$custom: #7337ac;
$custom-light: #a072c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7337ac",
  "rgb": {
    "r": 115,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 270.769,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47522,
    "c": 0.17924,
    "h": 303.8
  },
  "luminance": 0.09356
}

Semantic roles & 50–950 ramp

primary
#7337AC
secondary
#9FC27D
accent
#DB4D92
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7337AC

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

Preview Lab → · Contrast checker → · Palette generator →

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