#7337AD#7337AD

#7337AD is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.6% C 0.180 H 303.5°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#7337AD
RGBrgb(115, 55, 173)
HSLhsl(271, 52%, 45%)
HSVhsv(271, 68%, 68%)
CMYKcmyk(33.5%, 68.2%, 0%, 32.2%)
CIE-LABlab(36.73, 48.65, -52.91)
CIE-LCHlch(36.73, 71.88, 312.60°)
OKLaboklab(47.6% 0.0996 -0.1504)
OKLCHoklch(47.6% 0.18 303.5)
XYZxyz(15.9775, 9.3944, 40.4986)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7337AD #71AD37
analogous
#3837AD #7337AD #AD37AC
triadic
#7337AD #AD7337 #37AD73
tetradic
#7337AD #AD3837 #71AD37 #37ACAD
square
#7337AD #AD3837 #71AD37 #37ACAD
split-complementary
#7337AD #ACAD37 #37AD38
monochromatic
#351950 #54287F #7337AD #9257CA #B086D8

Accessibility & contrast

On white

7.29
#7337AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7337AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7337AD
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7337AD#FFFFFF#000000##FFFFFF
##7337AD1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#0256AA
Tritanopia (blue-blind)
#68526D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7337ad;
/* rgb */ color: rgb(115, 55, 173);
/* oklch */ color: oklch(47.6% 0.180 303.5);
Tailwind
colors: {
  custom: {
    50: '#a072c6',
    500: '#7337ad',
    950: '#000000',
  },
}
SCSS
$custom: #7337ad;
$custom-light: #a072c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7337ad",
  "rgb": {
    "r": 115,
    "g": 55,
    "b": 173
  },
  "hsl": {
    "h": 270.508,
    "s": 51.754,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47597,
    "c": 0.18035,
    "h": 303.5
  },
  "luminance": 0.09394
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7337AD

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

Preview Lab → · Contrast checker → · Palette generator →

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