#7535A2#7535A2

#7535A2 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.8% C 0.172 H 308.1°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#7535A2
RGBrgb(117, 53, 162)
HSLhsl(275, 51%, 42%)
HSVhsv(275, 67%, 64%)
CMYKcmyk(27.8%, 67.3%, 0%, 36.5%)
CIE-LABlab(35.86, 47.43, -47.72)
CIE-LCHlch(35.86, 67.28, 314.83°)
OKLaboklab(46.78% 0.1058 -0.135)
OKLCHoklch(46.78% 0.172 308.1)
XYZxyz(15.1295, 8.9370, 35.1034)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7535A2 #62A235
analogous
#3E35A2 #7535A2 #A23599
triadic
#7535A2 #A27535 #35A275
tetradic
#7535A2 #A23E35 #62A235 #3599A2
square
#7535A2 #A23E35 #62A235 #3599A2
split-complementary
#7535A2 #99A235 #35A23E
monochromatic
#321746 #542674 #7535A2 #944FC5 #B07DD4

Accessibility & contrast

On white

7.53
#7535A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7535A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7535A2
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7535A2#FFFFFF#000000##FFFFFF
##7535A21.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#1F55A0
Tritanopia (blue-blind)
#6E4C67
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7535a2;
/* rgb */ color: rgb(117, 53, 162);
/* oklch */ color: oklch(46.8% 0.172 308.1);
Tailwind
colors: {
  custom: {
    50: '#a171be',
    500: '#7535a2',
    950: '#000000',
  },
}
SCSS
$custom: #7535a2;
$custom-light: #a171be;
$custom-dark: #000000;
JSON
{
  "hex": "#7535a2",
  "rgb": {
    "r": 117,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 275.229,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46783,
    "c": 0.17153,
    "h": 308.1
  },
  "luminance": 0.08937
}

Semantic roles & 50–950 ramp

primary
#7535A2
secondary
#93BD75
accent
#DA4E88
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7535A2

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

Preview Lab → · Contrast checker → · Palette generator →

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