#7545A2#7545A2

#7545A2 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.0% C 0.148 H 305.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7545A2
RGBrgb(117, 69, 162)
HSLhsl(271, 40%, 45%)
HSVhsv(271, 57%, 64%)
CMYKcmyk(27.8%, 57.4%, 0%, 36.5%)
CIE-LABlab(38.98, 39.01, -42.72)
CIE-LCHlch(38.98, 57.85, 312.40°)
OKLaboklab(49.05% 0.0857 -0.1204)
OKLCHoklch(49.05% 0.148 305.4)
XYZxyz(15.9844, 10.6469, 35.3884)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7545A2 #72A245
analogous
#4645A2 #7545A2 #A245A0
triadic
#7545A2 #A27545 #45A275
tetradic
#7545A2 #A24645 #72A245 #45A0A2
square
#7545A2 #A24645 #72A245 #45A0A2
split-complementary
#7545A2 #A0A245 #45A246
monochromatic
#37204C #563377 #7545A2 #9466BE #B291D0

Accessibility & contrast

On white

6.71
#7545A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7545A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7545A2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7545A2#FFFFFF#000000##FFFFFF
##7545A21.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225AA5
Deuteranopia (green-blind)
#345CA0
Tritanopia (blue-blind)
#6D576D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7545a2;
/* rgb */ color: rgb(117, 69, 162);
/* oklch */ color: oklch(49.0% 0.148 305.4);
Tailwind
colors: {
  custom: {
    50: '#a07bbe',
    500: '#7545a2',
    950: '#000000',
  },
}
SCSS
$custom: #7545a2;
$custom-light: #a07bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#7545a2",
  "rgb": {
    "r": 117,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 270.968,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49046,
    "c": 0.1478,
    "h": 305.4
  },
  "luminance": 0.10647
}

Semantic roles & 50–950 ramp

primary
#7545A2
secondary
#A1BC87
accent
#D05892
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7545A2

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

Preview Lab → · Contrast checker → · Palette generator →

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