#7545E8#7545E8

#7545E8 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.3% C 0.230 H 290.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7545E8
RGBrgb(117, 69, 232)
HSLhsl(258, 78%, 59%)
HSVhsv(258, 70%, 91%)
CMYKcmyk(49.6%, 70.3%, 0%, 9%)
CIE-LABlab(44.04, 57.36, -75.24)
CIE-LCHlch(44.04, 94.62, 307.32°)
OKLaboklab(54.29% 0.0788 -0.216)
OKLCHoklch(54.29% 0.23 290)
XYZxyz(24.0255, 13.8633, 77.7383)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7545E8 #B8E845
analogous
#4567E8 #7545E8 #C745E8
triadic
#7545E8 #E87545 #45E875
tetradic
#7545E8 #E84567 #B8E845 #45E8C7
square
#7545E8 #E84567 #B8E845 #45E8C7
split-complementary
#7545E8 #E8C745 #67E845
monochromatic
#3D149F #511AD5 #7545E8 #9D7BEF #C6B2F5

Accessibility & contrast

On white

5.57
#7545E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7545E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7545E8
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7545E8#FFFFFF#000000##FFFFFF
##7545E81.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BED
Deuteranopia (green-blind)
#0064E5
Tritanopia (blue-blind)
#4D7092
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7545e8;
/* rgb */ color: rgb(117, 69, 232);
/* oklch */ color: oklch(54.3% 0.230 290.0);
Tailwind
colors: {
  custom: {
    50: '#a77df0',
    500: '#7545e8',
    950: '#000000',
  },
}
SCSS
$custom: #7545e8;
$custom-light: #a77df0;
$custom-dark: #000000;
JSON
{
  "hex": "#7545e8",
  "rgb": {
    "r": 117,
    "g": 69,
    "b": 232
  },
  "hsl": {
    "h": 257.669,
    "s": 77.99,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54286,
    "c": 0.2299,
    "h": 290
  },
  "luminance": 0.13864
}

Semantic roles & 50–950 ramp

primary
#7545E8
secondary
#D2E4A4
accent
#F433BC
background
#FAF7FE
surface
#F5EEFD
border
#CFC9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7545E8

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

Preview Lab → · Contrast checker → · Palette generator →

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