#7547D4#7547D4

#7547D4 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.9% C 0.205 H 293.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#7547D4
RGBrgb(117, 71, 212)
HSLhsl(260, 62%, 55%)
HSVhsv(260, 67%, 83%)
CMYKcmyk(44.8%, 66.5%, 0%, 16.9%)
CIE-LABlab(42.83, 50.95, -65.81)
CIE-LCHlch(42.83, 83.23, 307.75°)
OKLaboklab(52.93% 0.0803 -0.1883)
OKLCHoklch(52.93% 0.205 293.1)
XYZxyz(21.4698, 13.0412, 63.6606)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7547D4 #A6D447
analogous
#4760D4 #7547D4 #BB47D4
triadic
#7547D4 #D47547 #47D475
tetradic
#7547D4 #D44760 #A6D447 #47D4BB
square
#7547D4 #D44760 #A6D447 #47D4BB
split-complementary
#7547D4 #D4BB47 #60D447
monochromatic
#3F1E82 #572AB4 #7547D4 #9A79E0 #BFAAEB

Accessibility & contrast

On white

5.82
#7547D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7547D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7547D4
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7547D4#FFFFFF#000000##FFFFFF
##7547D41.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#0062D1
Tritanopia (blue-blind)
#596988
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7547d4;
/* rgb */ color: rgb(117, 71, 212);
/* oklch */ color: oklch(52.9% 0.205 293.1);
Tailwind
colors: {
  custom: {
    50: '#a47de2',
    500: '#7547d4',
    950: '#000000',
  },
}
SCSS
$custom: #7547d4;
$custom-light: #a47de2;
$custom-dark: #000000;
JSON
{
  "hex": "#7547d4",
  "rgb": {
    "r": 117,
    "g": 71,
    "b": 212
  },
  "hsl": {
    "h": 259.574,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5293,
    "c": 0.20468,
    "h": 293.1
  },
  "luminance": 0.13042
}

Semantic roles & 50–950 ramp

primary
#7547D4
secondary
#C6D99E
accent
#E543B0
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #7547D4

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

Preview Lab → · Contrast checker → · Palette generator →

#7547D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva