#7335B4#7335B4

#7335B4 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.9% C 0.191 H 301.9°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7335B4
RGBrgb(115, 53, 180)
HSLhsl(269, 55%, 46%)
HSVhsv(269, 71%, 71%)
CMYKcmyk(36.1%, 70.6%, 0%, 29.4%)
CIE-LABlab(36.90, 51.34, -56.79)
CIE-LCHlch(36.90, 76.56, 312.11°)
OKLaboklab(47.88% 0.1007 -0.1618)
OKLCHoklch(47.88% 0.191 301.9)
XYZxyz(16.5796, 9.4863, 44.1287)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7335B4 #76B435
analogous
#3537B4 #7335B4 #B235B4
triadic
#7335B4 #B47335 #35B473
tetradic
#7335B4 #B43537 #76B435 #35B4B2
square
#7335B4 #B43537 #76B435 #35B4B2
split-complementary
#7335B4 #B4B235 #37B435
monochromatic
#371955 #552785 #7335B4 #9258CE #B188DC

Accessibility & contrast

On white

7.25
#7335B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7335B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7335B4
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7335B4#FFFFFF#000000##FFFFFF
##7335B41.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#655371
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7335b4;
/* rgb */ color: rgb(115, 53, 180);
/* oklch */ color: oklch(47.9% 0.191 301.9);
Tailwind
colors: {
  custom: {
    50: '#a171cb',
    500: '#7335b4',
    950: '#000000',
  },
}
SCSS
$custom: #7335b4;
$custom-light: #a171cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7335b4",
  "rgb": {
    "r": 115,
    "g": 53,
    "b": 180
  },
  "hsl": {
    "h": 269.291,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47883,
    "c": 0.19053,
    "h": 301.9
  },
  "luminance": 0.09486
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7335B4

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

Preview Lab → · Contrast checker → · Palette generator →

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