#7335B3#7335B3

#7335B3 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.8% C 0.189 H 302.2°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#7335B3
RGBrgb(115, 53, 179)
HSLhsl(270, 54%, 45%)
HSVhsv(270, 70%, 70%)
CMYKcmyk(35.8%, 70.4%, 0%, 29.8%)
CIE-LABlab(36.83, 51.09, -56.32)
CIE-LCHlch(36.83, 76.04, 312.21°)
OKLaboklab(47.81% 0.1008 -0.1604)
OKLCHoklch(47.81% 0.189 302.2)
XYZxyz(16.4781, 9.4457, 43.5942)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7335B3 #75B335
analogous
#3536B3 #7335B3 #B235B3
triadic
#7335B3 #B37335 #35B373
tetradic
#7335B3 #B33536 #75B335 #35B3B2
square
#7335B3 #B33536 #75B335 #35B3B2
split-complementary
#7335B3 #B3B235 #36B335
monochromatic
#361955 #552784 #7335B3 #9258CD #B187DB

Accessibility & contrast

On white

7.27
#7335B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7335B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7335B3
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7335B3#FFFFFF#000000##FFFFFF
##7335B31.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#665370
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7335b3;
/* rgb */ color: rgb(115, 53, 179);
/* oklch */ color: oklch(47.8% 0.189 302.2);
Tailwind
colors: {
  custom: {
    50: '#a171cb',
    500: '#7335b3',
    950: '#000000',
  },
}
SCSS
$custom: #7335b3;
$custom-light: #a171cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7335b3",
  "rgb": {
    "r": 115,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 269.524,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47805,
    "c": 0.18945,
    "h": 302.2
  },
  "luminance": 0.09446
}

Semantic roles & 50–950 ramp

primary
#7335B3
secondary
#A2C57F
accent
#DE4A95
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7335B3

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

Preview Lab → · Contrast checker → · Palette generator →

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