#7335C5#7335C5

#7335C5 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.2% C 0.209 H 297.8°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#7335C5
RGBrgb(115, 53, 197)
HSLhsl(266, 58%, 49%)
HSVhsv(266, 73%, 77%)
CMYKcmyk(41.6%, 73.1%, 0%, 22.7%)
CIE-LABlab(38.24, 55.56, -64.62)
CIE-LCHlch(38.24, 85.22, 310.69°)
OKLaboklab(49.24% 0.0974 -0.1848)
OKLCHoklch(49.24% 0.209 297.8)
XYZxyz(18.4188, 10.2219, 53.8151)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7335C5 #87C535
analogous
#353FC5 #7335C5 #BB35C5
triadic
#7335C5 #C57335 #35C573
tetradic
#7335C5 #C5353F #87C535 #35C5BB
square
#7335C5 #C5353F #87C535 #35C5BB
split-complementary
#7335C5 #C5BB35 #3FC535
monochromatic
#3B1B65 #572895 #7335C5 #9462D5 #B593E2

Accessibility & contrast

On white

6.90
#7335C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7335C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7335C5
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7335C5#FFFFFF#000000##FFFFFF
##7335C51.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#5E5A7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7335c5;
/* rgb */ color: rgb(115, 53, 197);
/* oklch */ color: oklch(49.2% 0.209 297.8);
Tailwind
colors: {
  custom: {
    50: '#a272d8',
    500: '#7335c5',
    950: '#000000',
  },
}
SCSS
$custom: #7335c5;
$custom-light: #a272d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7335c5",
  "rgb": {
    "r": 115,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 265.833,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49244,
    "c": 0.20885,
    "h": 297.8
  },
  "luminance": 0.10222
}

Semantic roles & 50–950 ramp

primary
#7335C5
secondary
#B0CD89
accent
#E1479F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7335C5

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

Preview Lab → · Contrast checker → · Palette generator →

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