#7335AF#7335AF

#7335AF is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.5% C 0.185 H 303.2°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#7335AF
RGBrgb(115, 53, 175)
HSLhsl(270, 54%, 45%)
HSVhsv(270, 70%, 69%)
CMYKcmyk(34.3%, 69.7%, 0%, 31.4%)
CIE-LABlab(36.53, 50.11, -54.43)
CIE-LCHlch(36.53, 73.99, 312.63°)
OKLaboklab(47.5% 0.1014 -0.1548)
OKLCHoklch(47.5% 0.185 303.2)
XYZxyz(16.0794, 9.2862, 41.4944)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7335AF #71AF35
analogous
#3635AF #7335AF #AF35AE
triadic
#7335AF #AF7335 #35AF73
tetradic
#7335AF #AF3635 #71AF35 #35AEAF
square
#7335AF #AF3635 #71AF35 #35AEAF
split-complementary
#7335AF #AEAF35 #35AF36
monochromatic
#351951 #542780 #7335AF #9256CC #B085DA

Accessibility & contrast

On white

7.35
#7335AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7335AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7335AF
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7335AF#FFFFFF#000000##FFFFFF
##7335AF1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#67516E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7335af;
/* rgb */ color: rgb(115, 53, 175);
/* oklch */ color: oklch(47.5% 0.185 303.2);
Tailwind
colors: {
  custom: {
    50: '#a071c8',
    500: '#7335af',
    950: '#000000',
  },
}
SCSS
$custom: #7335af;
$custom-light: #a071c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7335af",
  "rgb": {
    "r": 115,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 270.492,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47498,
    "c": 0.18511,
    "h": 303.2
  },
  "luminance": 0.09286
}

Semantic roles & 50–950 ramp

primary
#7335AF
secondary
#9FC47C
accent
#DD4B93
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7335AF

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

Preview Lab → · Contrast checker → · Palette generator →

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