#7335AE#7335AE

#7335AE is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.4% C 0.184 H 303.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#7335AE
RGBrgb(115, 53, 174)
HSLhsl(271, 53%, 45%)
HSVhsv(271, 70%, 68%)
CMYKcmyk(33.9%, 69.5%, 0%, 31.8%)
CIE-LABlab(36.46, 49.87, -53.96)
CIE-LCHlch(36.46, 73.47, 312.74°)
OKLaboklab(47.42% 0.1016 -0.1534)
OKLCHoklch(47.42% 0.184 303.5)
XYZxyz(15.9816, 9.2471, 40.9791)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7335AE #70AE35
analogous
#3735AE #7335AE #AE35AD
triadic
#7335AE #AE7335 #35AE73
tetradic
#7335AE #AE3735 #70AE35 #35ADAE
square
#7335AE #AE3735 #70AE35 #35ADAE
split-complementary
#7335AE #ADAE35 #35AE37
monochromatic
#351850 #54277F #7335AE #9255CB #B084DA

Accessibility & contrast

On white

7.37
#7335AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7335AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7335AE
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7335AE#FFFFFF#000000##FFFFFF
##7335AE1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#67516D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7335ae;
/* rgb */ color: rgb(115, 53, 174);
/* oklch */ color: oklch(47.4% 0.184 303.5);
Tailwind
colors: {
  custom: {
    50: '#a071c7',
    500: '#7335ae',
    950: '#000000',
  },
}
SCSS
$custom: #7335ae;
$custom-light: #a071c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7335ae",
  "rgb": {
    "r": 115,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 270.744,
    "s": 53.304,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47422,
    "c": 0.18402,
    "h": 303.5
  },
  "luminance": 0.09247
}

Semantic roles & 50–950 ramp

primary
#7335AE
secondary
#9FC37C
accent
#DD4B92
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7335AE

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

Preview Lab → · Contrast checker → · Palette generator →

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