#7337AE#7337AE

#7337AE is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.7% C 0.181 H 303.2°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#7337AE
RGBrgb(115, 55, 174)
HSLhsl(270, 52%, 45%)
HSVhsv(270, 68%, 68%)
CMYKcmyk(33.9%, 68.4%, 0%, 31.8%)
CIE-LABlab(36.81, 48.90, -53.39)
CIE-LCHlch(36.81, 72.40, 312.48°)
OKLaboklab(47.67% 0.0994 -0.1518)
OKLCHoklch(47.67% 0.181 303.2)
XYZxyz(16.0746, 9.4332, 41.0101)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7337AE #72AE37
analogous
#3737AE #7337AE #AE37AE
triadic
#7337AE #AE7337 #37AE73
tetradic
#7337AE #AE3737 #72AE37 #37AEAE
square
#7337AE #AE3737 #72AE37 #37AEAE
split-complementary
#7337AE #AEAE37 #37AE37
monochromatic
#361A51 #54287F #7337AE #9258CA #B086D9

Accessibility & contrast

On white

7.27
#7337AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7337AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7337AE
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7337AE#FFFFFF#000000##FFFFFF
##7337AE1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#67526E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7337ae;
/* rgb */ color: rgb(115, 55, 174);
/* oklch */ color: oklch(47.7% 0.181 303.2);
Tailwind
colors: {
  custom: {
    50: '#a072c7',
    500: '#7337ae',
    950: '#000000',
  },
}
SCSS
$custom: #7337ae;
$custom-light: #a072c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7337ae",
  "rgb": {
    "r": 115,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 270.252,
    "s": 51.965,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47672,
    "c": 0.18145,
    "h": 303.2
  },
  "luminance": 0.09433
}

Semantic roles & 50–950 ramp

primary
#7337AE
secondary
#A0C37E
accent
#DB4C93
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7337AE

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

Preview Lab → · Contrast checker → · Palette generator →

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