#7545DB#7545DB

#7545DB is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.2% C 0.215 H 292.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7545DB
RGBrgb(117, 69, 219)
HSLhsl(259, 68%, 56%)
HSVhsv(259, 68%, 86%)
CMYKcmyk(46.6%, 68.5%, 0%, 14.1%)
CIE-LABlab(42.99, 53.87, -69.56)
CIE-LCHlch(42.99, 87.97, 307.76°)
OKLaboklab(53.22% 0.0811 -0.1993)
OKLCHoklch(53.22% 0.215 292.2)
XYZxyz(22.2469, 13.1519, 68.3705)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7545DB #ABDB45
analogous
#4560DB #7545DB #C045DB
triadic
#7545DB #DB7545 #45DB75
tetradic
#7545DB #DB4560 #ABDB45 #45DBC0
square
#7545DB #DB4560 #ABDB45 #45DBC0
split-complementary
#7545DB #DBC045 #60DB45
monochromatic
#3F1B8B #5625BE #7545DB #9B78E5 #C1ACEF

Accessibility & contrast

On white

5.78
#7545DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7545DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7545DB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7545DB#FFFFFF#000000##FFFFFF
##7545DB1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E0
Deuteranopia (green-blind)
#0062D8
Tritanopia (blue-blind)
#566B8B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7545db;
/* rgb */ color: rgb(117, 69, 219);
/* oklch */ color: oklch(53.2% 0.215 292.2);
Tailwind
colors: {
  custom: {
    50: '#a57ce7',
    500: '#7545db',
    950: '#000000',
  },
}
SCSS
$custom: #7545db;
$custom-light: #a57ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#7545db",
  "rgb": {
    "r": 117,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 259.2,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53218,
    "c": 0.21517,
    "h": 292.2
  },
  "luminance": 0.13153
}

Semantic roles & 50–950 ramp

primary
#7545DB
secondary
#C9DD9F
accent
#EA3DB3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7545DB

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

Preview Lab → · Contrast checker → · Palette generator →

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