#7548FF#7548FF

#7548FF is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.6% C 0.252 H 286.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7548FF
RGBrgb(117, 72, 255)
HSLhsl(255, 100%, 64%)
HSVhsv(255, 72%, 100%)
CMYKcmyk(54.1%, 71.8%, 0%, 0%)
CIE-LABlab(46.49, 62.13, -84.13)
CIE-LCHlch(46.49, 104.59, 306.45°)
OKLaboklab(56.62% 0.0717 -0.242)
OKLCHoklch(56.62% 0.252 286.5)
XYZxyz(27.6981, 15.6351, 96.1467)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548FF #D2FF48
analogous
#4877FF #7548FF #D148FF
triadic
#7548FF #FF7548 #48FF75
tetradic
#7548FF #FF4877 #D2FF48 #48FFD1
square
#7548FF #FF4877 #D2FF48 #48FFD1
split-complementary
#7548FF #FFD148 #77FF48
monochromatic
#3200CD #470BFF #7548FF #A385FF #D1C2FF

Accessibility & contrast

On white

5.09
#7548FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7548FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548FF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548FF#FFFFFF#000000##FFFFFF
##7548FF1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FF
Deuteranopia (green-blind)
#0069FC
Tritanopia (blue-blind)
#387AA0
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7548ff;
/* rgb */ color: rgb(117, 72, 255);
/* oklch */ color: oklch(56.6% 0.252 286.5);
Tailwind
colors: {
  custom: {
    50: '#a97fff',
    500: '#7548ff',
    950: '#000000',
  },
}
SCSS
$custom: #7548ff;
$custom-light: #a97fff;
$custom-dark: #000000;
JSON
{
  "hex": "#7548ff",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 255
  },
  "hsl": {
    "h": 254.754,
    "s": 100,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56619,
    "c": 0.25243,
    "h": 286.5
  },
  "luminance": 0.15637
}

Semantic roles & 50–950 ramp

primary
#7548FF
secondary
#E2F1B1
accent
#E600AD
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110A18
muted
#807C86

Preview Lab

Preview with #7548FF

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

Preview Lab → · Contrast checker → · Palette generator →

#7548FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva