#7335B5#7335B5

#7335B5 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.0% C 0.192 H 301.6°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#7335B5
RGBrgb(115, 53, 181)
HSLhsl(269, 55%, 46%)
HSVhsv(269, 71%, 71%)
CMYKcmyk(36.5%, 70.7%, 0%, 29%)
CIE-LABlab(36.98, 51.58, -57.26)
CIE-LCHlch(36.98, 77.07, 312.01°)
OKLaboklab(47.96% 0.1005 -0.1631)
OKLCHoklch(47.96% 0.192 301.6)
XYZxyz(16.6818, 9.5272, 44.6672)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7335B5 #77B535
analogous
#3537B5 #7335B5 #B335B5
triadic
#7335B5 #B57335 #35B573
tetradic
#7335B5 #B53537 #77B535 #35B5B3
square
#7335B5 #B53537 #77B535 #35B5B3
split-complementary
#7335B5 #B5B335 #37B535
monochromatic
#371956 #552786 #7335B5 #9259CE #B188DC

Accessibility & contrast

On white

7.23
#7335B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7335B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7335B5
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7335B5#FFFFFF#000000##FFFFFF
##7335B51.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#0056B2
Tritanopia (blue-blind)
#655471
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7335b5;
/* rgb */ color: rgb(115, 53, 181);
/* oklch */ color: oklch(48.0% 0.192 301.6);
Tailwind
colors: {
  custom: {
    50: '#a171cc',
    500: '#7335b5',
    950: '#000000',
  },
}
SCSS
$custom: #7335b5;
$custom-light: #a171cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7335b5",
  "rgb": {
    "r": 115,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 269.063,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47961,
    "c": 0.19161,
    "h": 301.6
  },
  "luminance": 0.09527
}

Semantic roles & 50–950 ramp

primary
#7335B5
secondary
#A4C680
accent
#DE4A96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7335B5

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

Preview Lab → · Contrast checker → · Palette generator →

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