#7337A2#7337A2

#7337A2 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.8% C 0.168 H 306.8°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#7337A2
RGBrgb(115, 55, 162)
HSLhsl(274, 49%, 43%)
HSVhsv(274, 66%, 64%)
CMYKcmyk(29%, 66%, 0%, 36.5%)
CIE-LABlab(35.96, 45.99, -47.58)
CIE-LCHlch(35.96, 66.17, 314.02°)
OKLaboklab(46.79% 0.1007 -0.1347)
OKLCHoklch(46.79% 0.168 306.8)
XYZxyz(14.9566, 8.9860, 35.1220)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7337A2 #66A237
analogous
#3D37A2 #7337A2 #A2379B
triadic
#7337A2 #A27337 #37A273
tetradic
#7337A2 #A23D37 #66A237 #379BA2
square
#7337A2 #A23D37 #66A237 #379BA2
split-complementary
#7337A2 #9BA237 #37A23D
monochromatic
#321847 #532774 #7337A2 #9252C4 #AF80D4

Accessibility & contrast

On white

7.51
#7337A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7337A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7337A2
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7337A2#FFFFFF#000000##FFFFFF
##7337A21.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#1F55A0
Tritanopia (blue-blind)
#6B4E67
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7337a2;
/* rgb */ color: rgb(115, 55, 162);
/* oklch */ color: oklch(46.8% 0.168 306.8);
Tailwind
colors: {
  custom: {
    50: '#9f72be',
    500: '#7337a2',
    950: '#000000',
  },
}
SCSS
$custom: #7337a2;
$custom-light: #9f72be;
$custom-dark: #000000;
JSON
{
  "hex": "#7337a2",
  "rgb": {
    "r": 115,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 273.645,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46794,
    "c": 0.16818,
    "h": 306.8
  },
  "luminance": 0.08986
}

Semantic roles & 50–950 ramp

primary
#7337A2
secondary
#96BD78
accent
#D94F8C
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7337A2

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

Preview Lab → · Contrast checker → · Palette generator →

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