#7337C2#7337C2

#7337C2 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.2% C 0.203 H 298.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7337C2
RGBrgb(115, 55, 194)
HSLhsl(266, 56%, 49%)
HSVhsv(266, 72%, 76%)
CMYKcmyk(40.7%, 71.6%, 0%, 23.9%)
CIE-LABlab(38.33, 53.88, -62.72)
CIE-LCHlch(38.33, 82.68, 310.66°)
OKLaboklab(49.23% 0.0961 -0.1792)
OKLCHoklch(49.23% 0.203 298.2)
XYZxyz(18.1715, 10.2720, 52.0538)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7337C2 #86C237
analogous
#3741C2 #7337C2 #B937C2
triadic
#7337C2 #C27337 #37C273
tetradic
#7337C2 #C23741 #86C237 #37C2B9
square
#7337C2 #C23741 #86C237 #37C2B9
split-complementary
#7337C2 #C2B937 #41C237
monochromatic
#3A1C63 #572992 #7337C2 #9363D3 #B493E0

Accessibility & contrast

On white

6.88
#7337C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7337C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7337C2
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7337C2#FFFFFF#000000##FFFFFF
##7337C21.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#0059BF
Tritanopia (blue-blind)
#605A79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7337c2;
/* rgb */ color: rgb(115, 55, 194);
/* oklch */ color: oklch(49.2% 0.203 298.2);
Tailwind
colors: {
  custom: {
    50: '#a273d5',
    500: '#7337c2',
    950: '#000000',
  },
}
SCSS
$custom: #7337c2;
$custom-light: #a273d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7337c2",
  "rgb": {
    "r": 115,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 265.899,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49232,
    "c": 0.20336,
    "h": 298.2
  },
  "luminance": 0.10272
}

Semantic roles & 50–950 ramp

primary
#7337C2
secondary
#AFCB89
accent
#DF499E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7337C2

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

Preview Lab → · Contrast checker → · Palette generator →

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