#7535AB#7535AB

#7535AB is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.4% C 0.181 H 305.3°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7535AB
RGBrgb(117, 53, 171)
HSLhsl(273, 53%, 44%)
HSVhsv(273, 69%, 67%)
CMYKcmyk(31.6%, 69%, 0%, 32.9%)
CIE-LABlab(36.50, 49.56, -52.09)
CIE-LCHlch(36.50, 71.90, 313.57°)
OKLaboklab(47.44% 0.1048 -0.1479)
OKLCHoklch(47.44% 0.181 305.3)
XYZxyz(15.9583, 9.2685, 39.4685)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7535AB #6BAB35
analogous
#3A35AB #7535AB #AB35A6
triadic
#7535AB #AB7535 #35AB75
tetradic
#7535AB #AB3A35 #6BAB35 #35A6AB
square
#7535AB #AB3A35 #6BAB35 #35A6AB
split-complementary
#7535AB #A6AB35 #35AB3A
monochromatic
#35184E #55277C #7535AB #9453CA #B182D8

Accessibility & contrast

On white

7.36
#7535AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7535AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7535AB
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7535AB#FFFFFF#000000##FFFFFF
##7535AB1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#0A56A8
Tritanopia (blue-blind)
#6B506C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7535ab;
/* rgb */ color: rgb(117, 53, 171);
/* oklch */ color: oklch(47.4% 0.181 305.3);
Tailwind
colors: {
  custom: {
    50: '#a171c5',
    500: '#7535ab',
    950: '#000000',
  },
}
SCSS
$custom: #7535ab;
$custom-light: #a171c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7535ab",
  "rgb": {
    "r": 117,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 272.542,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47438,
    "c": 0.18123,
    "h": 305.3
  },
  "luminance": 0.09268
}

Semantic roles & 50–950 ramp

primary
#7535AB
secondary
#9BC27A
accent
#DC4C8E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7535AB

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

Preview Lab → · Contrast checker → · Palette generator →

#7535AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva