#7535AF#7535AF

#7535AF is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.7% C 0.186 H 304.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#7535AF
RGBrgb(117, 53, 175)
HSLhsl(271, 54%, 45%)
HSVhsv(271, 70%, 69%)
CMYKcmyk(33.1%, 69.7%, 0%, 31.4%)
CIE-LABlab(36.79, 50.52, -54.00)
CIE-LCHlch(36.79, 73.95, 313.09°)
OKLaboklab(47.74% 0.1042 -0.1535)
OKLCHoklch(47.74% 0.186 304.2)
XYZxyz(16.3453, 9.4233, 41.5069)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7535AF #6FAF35
analogous
#3835AF #7535AF #AF35AC
triadic
#7535AF #AF7535 #35AF75
tetradic
#7535AF #AF3835 #6FAF35 #35ACAF
square
#7535AF #AF3835 #6FAF35 #35ACAF
split-complementary
#7535AF #ACAF35 #35AF38
monochromatic
#361951 #562780 #7535AF #9456CC #B185DA

Accessibility & contrast

On white

7.28
#7535AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7535AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7535AF
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7535AF#FFFFFF#000000##FFFFFF
##7535AF1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#6A516E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7535af;
/* rgb */ color: rgb(117, 53, 175);
/* oklch */ color: oklch(47.7% 0.186 304.2);
Tailwind
colors: {
  custom: {
    50: '#a271c8',
    500: '#7535af',
    950: '#000000',
  },
}
SCSS
$custom: #7535af;
$custom-light: #a271c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7535af",
  "rgb": {
    "r": 117,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 271.475,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47738,
    "c": 0.18554,
    "h": 304.2
  },
  "luminance": 0.09423
}

Semantic roles & 50–950 ramp

primary
#7535AF
secondary
#9EC47C
accent
#DD4B90
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7535AF

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

Preview Lab → · Contrast checker → · Palette generator →

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