#7335C8#7335C8

#7335C8 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.5% C 0.212 H 297.1°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7335C8
RGBrgb(115, 53, 200)
HSLhsl(265, 58%, 50%)
HSVhsv(265, 74%, 78%)
CMYKcmyk(42.5%, 73.5%, 0%, 21.6%)
CIE-LABlab(38.48, 56.31, -65.96)
CIE-LCHlch(38.48, 86.73, 310.49°)
OKLaboklab(49.49% 0.0967 -0.1887)
OKLCHoklch(49.49% 0.212 297.1)
XYZxyz(18.7659, 10.3608, 55.6435)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7335C8 #8AC835
analogous
#3541C8 #7335C8 #BD35C8
triadic
#7335C8 #C87335 #35C873
tetradic
#7335C8 #C83541 #8AC835 #35C8BD
square
#7335C8 #C83541 #8AC835 #35C8BD
split-complementary
#7335C8 #C8BD35 #41C835
monochromatic
#3B1B67 #572898 #7335C8 #9464D6 #B695E3

Accessibility & contrast

On white

6.84
#7335C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7335C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7335C8
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7335C8#FFFFFF#000000##FFFFFF
##7335C81.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCC
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#5D5B7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7335c8;
/* rgb */ color: rgb(115, 53, 200);
/* oklch */ color: oklch(49.5% 0.212 297.1);
Tailwind
colors: {
  custom: {
    50: '#a372da',
    500: '#7335c8',
    950: '#000000',
  },
}
SCSS
$custom: #7335c8;
$custom-light: #a372da;
$custom-dark: #000000;
JSON
{
  "hex": "#7335c8",
  "rgb": {
    "r": 115,
    "g": 53,
    "b": 200
  },
  "hsl": {
    "h": 265.306,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49493,
    "c": 0.21206,
    "h": 297.1
  },
  "luminance": 0.10361
}

Semantic roles & 50–950 ramp

primary
#7335C8
secondary
#B2CE8B
accent
#E146A0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7335C8

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

Preview Lab → · Contrast checker → · Palette generator →

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