#7337B2#7337B2

#7337B2 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.0% C 0.186 H 302.1°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7337B2
RGBrgb(115, 55, 178)
HSLhsl(269, 53%, 46%)
HSVhsv(269, 69%, 70%)
CMYKcmyk(35.4%, 69.1%, 0%, 30.2%)
CIE-LABlab(37.10, 49.88, -55.29)
CIE-LCHlch(37.10, 74.47, 312.06°)
OKLaboklab(47.98% 0.0989 -0.1574)
OKLCHoklch(47.98% 0.186 302.1)
XYZxyz(16.4704, 9.5915, 43.0945)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7337B2 #76B237
analogous
#3738B2 #7337B2 #B037B2
triadic
#7337B2 #B27337 #37B273
tetradic
#7337B2 #B23738 #76B237 #37B2B0
square
#7337B2 #B23738 #76B237 #37B2B0
split-complementary
#7337B2 #B2B037 #38B237
monochromatic
#371A54 #552983 #7337B2 #925ACC #B189DB

Accessibility & contrast

On white

7.20
#7337B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7337B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7337B2
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7337B2#FFFFFF#000000##FFFFFF
##7337B21.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#665470
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7337b2;
/* rgb */ color: rgb(115, 55, 178);
/* oklch */ color: oklch(48.0% 0.186 302.1);
Tailwind
colors: {
  custom: {
    50: '#a072ca',
    500: '#7337b2',
    950: '#000000',
  },
}
SCSS
$custom: #7337b2;
$custom-light: #a072ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7337b2",
  "rgb": {
    "r": 115,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 269.268,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47975,
    "c": 0.18586,
    "h": 302.1
  },
  "luminance": 0.09592
}

Semantic roles & 50–950 ramp

primary
#7337B2
secondary
#A3C580
accent
#DC4C96
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7337B2

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

Preview Lab → · Contrast checker → · Palette generator →

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