#7545E2#7545E2

#7545E2 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.8% C 0.223 H 291.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7545E2
RGBrgb(117, 69, 226)
HSLhsl(258, 73%, 58%)
HSVhsv(258, 69%, 89%)
CMYKcmyk(48.2%, 69.5%, 0%, 11.4%)
CIE-LABlab(43.55, 55.75, -72.64)
CIE-LCHlch(43.55, 91.56, 307.51°)
OKLaboklab(53.79% 0.0799 -0.2083)
OKLCHoklch(53.79% 0.223 291)
XYZxyz(23.1878, 13.5282, 73.3262)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7545E2 #B2E245
analogous
#4563E2 #7545E2 #C345E2
triadic
#7545E2 #E27545 #45E275
tetradic
#7545E2 #E24563 #B2E245 #45E2C3
square
#7545E2 #E24563 #B2E245 #45E2C3
split-complementary
#7545E2 #E2C345 #63E245
monochromatic
#3E1795 #5420CA #7545E2 #9C7AEA #C4AFF3

Accessibility & contrast

On white

5.67
#7545E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7545E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7545E2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7545E2#FFFFFF#000000##FFFFFF
##7545E21.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#0063DF
Tritanopia (blue-blind)
#516D8F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7545e2;
/* rgb */ color: rgb(117, 69, 226);
/* oklch */ color: oklch(53.8% 0.223 291.0);
Tailwind
colors: {
  custom: {
    50: '#a67cec',
    500: '#7545e2',
    950: '#000000',
  },
}
SCSS
$custom: #7545e2;
$custom-light: #a67cec;
$custom-dark: #000000;
JSON
{
  "hex": "#7545e2",
  "rgb": {
    "r": 117,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 258.344,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53788,
    "c": 0.22313,
    "h": 291
  },
  "luminance": 0.13529
}

Semantic roles & 50–950 ramp

primary
#7545E2
secondary
#CEE1A2
accent
#F038B8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7545E2

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

Preview Lab → · Contrast checker → · Palette generator →

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