#7335C2#7335C2

#7335C2 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.0% C 0.206 H 298.5°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7335C2
RGBrgb(115, 53, 194)
HSLhsl(266, 57%, 48%)
HSVhsv(266, 73%, 76%)
CMYKcmyk(40.7%, 72.7%, 0%, 23.9%)
CIE-LABlab(38.00, 54.81, -63.26)
CIE-LCHlch(38.00, 83.70, 310.91°)
OKLaboklab(49% 0.098 -0.1808)
OKLCHoklch(49% 0.206 298.5)
XYZxyz(18.0784, 10.0858, 52.0228)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7335C2 #84C235
analogous
#353DC2 #7335C2 #B935C2
triadic
#7335C2 #C27335 #35C273
tetradic
#7335C2 #C2353D #84C235 #35C2B9
square
#7335C2 #C2353D #84C235 #35C2B9
split-complementary
#7335C2 #C2B935 #3DC235
monochromatic
#3A1B62 #572892 #7335C2 #9360D4 #B491E1

Accessibility & contrast

On white

6.96
#7335C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7335C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7335C2
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7335C2#FFFFFF#000000##FFFFFF
##7335C21.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#0058BF
Tritanopia (blue-blind)
#605978
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7335c2;
/* rgb */ color: rgb(115, 53, 194);
/* oklch */ color: oklch(49.0% 0.206 298.5);
Tailwind
colors: {
  custom: {
    50: '#a272d5',
    500: '#7335c2',
    950: '#000000',
  },
}
SCSS
$custom: #7335c2;
$custom-light: #a272d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7335c2",
  "rgb": {
    "r": 115,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 266.383,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48998,
    "c": 0.20563,
    "h": 298.5
  },
  "luminance": 0.10086
}

Semantic roles & 50–950 ramp

primary
#7335C2
secondary
#AECC87
accent
#E0479D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7335C2

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

Preview Lab → · Contrast checker → · Palette generator →

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