#7548DF#7548DF

#7548DF is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.9% C 0.216 H 291.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7548DF
RGBrgb(117, 72, 223)
HSLhsl(258, 70%, 58%)
HSVhsv(258, 68%, 87%)
CMYKcmyk(47.5%, 67.7%, 0%, 12.5%)
CIE-LABlab(43.86, 53.41, -70.42)
CIE-LCHlch(43.86, 88.38, 307.18°)
OKLaboklab(53.94% 0.0777 -0.2018)
OKLCHoklch(53.94% 0.216 291.1)
XYZxyz(22.9690, 13.7435, 71.2403)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548DF #B2DF48
analogous
#4866DF #7548DF #C148DF
triadic
#7548DF #DF7548 #48DF75
tetradic
#7548DF #DF4866 #B2DF48 #48DFC1
square
#7548DF #DF4866 #B2DF48 #48DFC1
split-complementary
#7548DF #DFC148 #66DF48
monochromatic
#3E1A93 #5423C7 #7548DF #9C7CE8 #C4B0F1

Accessibility & contrast

On white

5.60
#7548DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7548DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548DF
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548DF#FFFFFF#000000##FFFFFF
##7548DF1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE4
Deuteranopia (green-blind)
#0064DC
Tritanopia (blue-blind)
#536E8E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7548df;
/* rgb */ color: rgb(117, 72, 223);
/* oklch */ color: oklch(53.9% 0.216 291.1);
Tailwind
colors: {
  custom: {
    50: '#a57eea',
    500: '#7548df',
    950: '#000000',
  },
}
SCSS
$custom: #7548df;
$custom-light: #a57eea;
$custom-dark: #000000;
JSON
{
  "hex": "#7548df",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 223
  },
  "hsl": {
    "h": 257.881,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53939,
    "c": 0.21625,
    "h": 291.1
  },
  "luminance": 0.13744
}

Semantic roles & 50–950 ramp

primary
#7548DF
secondary
#CEE0A3
accent
#ED3BB8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7548DF

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

Preview Lab → · Contrast checker → · Palette generator →

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