#7335B2#7335B2

#7335B2 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.7% C 0.188 H 302.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#7335B2
RGBrgb(115, 53, 178)
HSLhsl(270, 54%, 45%)
HSVhsv(270, 70%, 70%)
CMYKcmyk(35.4%, 70.2%, 0%, 30.2%)
CIE-LABlab(36.75, 50.85, -55.85)
CIE-LCHlch(36.75, 75.53, 312.31°)
OKLaboklab(47.73% 0.101 -0.159)
OKLCHoklch(47.73% 0.188 302.4)
XYZxyz(16.3773, 9.4054, 43.0635)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7335B2 #74B235
analogous
#3535B2 #7335B2 #B235B2
triadic
#7335B2 #B27335 #35B273
tetradic
#7335B2 #B23535 #74B235 #35B2B2
square
#7335B2 #B23535 #74B235 #35B2B2
split-complementary
#7335B2 #B2B235 #35B235
monochromatic
#361954 #552783 #7335B2 #9257CD #B086DB

Accessibility & contrast

On white

7.29
#7335B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7335B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7335B2
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7335B2#FFFFFF#000000##FFFFFF
##7335B21.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0056AF
Tritanopia (blue-blind)
#665270
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7335b2;
/* rgb */ color: rgb(115, 53, 178);
/* oklch */ color: oklch(47.7% 0.188 302.4);
Tailwind
colors: {
  custom: {
    50: '#a071ca',
    500: '#7335b2',
    950: '#000000',
  },
}
SCSS
$custom: #7335b2;
$custom-light: #a071ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7335b2",
  "rgb": {
    "r": 115,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 269.76,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47728,
    "c": 0.18836,
    "h": 302.4
  },
  "luminance": 0.09405
}

Semantic roles & 50–950 ramp

primary
#7335B2
secondary
#A2C57E
accent
#DD4A94
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7335B2

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

Preview Lab → · Contrast checker → · Palette generator →

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