#7545F2#7545F2

#7545F2 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.1% C 0.241 H 288.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7545F2
RGBrgb(117, 69, 242)
HSLhsl(257, 87%, 61%)
HSVhsv(257, 71%, 95%)
CMYKcmyk(51.7%, 71.5%, 0%, 5.1%)
CIE-LABlab(44.87, 60.06, -79.52)
CIE-LCHlch(44.87, 99.65, 307.06°)
OKLaboklab(55.13% 0.0768 -0.2285)
OKLCHoklch(55.13% 0.241 288.6)
XYZxyz(25.4866, 14.4477, 85.4330)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7545F2 #C2F245
analogous
#456BF2 #7545F2 #CB45F2
triadic
#7545F2 #F27545 #45F275
tetradic
#7545F2 #F2456B #C2F245 #45F2CB
square
#7545F2 #F2456B #C2F245 #45F2CB
split-complementary
#7545F2 #F2CB45 #6BF245
monochromatic
#3A0CB0 #4D10E9 #7545F2 #9F7EF6 #CAB7FA

Accessibility & contrast

On white

5.40
#7545F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7545F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7545F2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7545F2#FFFFFF#000000##FFFFFF
##7545F21.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF7
Deuteranopia (green-blind)
#0066EF
Tritanopia (blue-blind)
#457398
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7545f2;
/* rgb */ color: rgb(117, 69, 242);
/* oklch */ color: oklch(55.1% 0.241 288.6);
Tailwind
colors: {
  custom: {
    50: '#a87df8',
    500: '#7545f2',
    950: '#000000',
  },
}
SCSS
$custom: #7545f2;
$custom-light: #a87df8;
$custom-dark: #000000;
JSON
{
  "hex": "#7545f2",
  "rgb": {
    "r": 117,
    "g": 69,
    "b": 242
  },
  "hsl": {
    "h": 256.647,
    "s": 86.935,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55132,
    "c": 0.24107,
    "h": 288.6
  },
  "luminance": 0.14449
}

Semantic roles & 50–950 ramp

primary
#7545F2
secondary
#D8EAA9
accent
#E302A5
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A17
muted
#807C85

Preview Lab

Preview with #7545F2

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

Preview Lab → · Contrast checker → · Palette generator →

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