#7548E8#7548E8

#7548E8 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.7% C 0.227 H 289.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7548E8
RGBrgb(117, 72, 232)
HSLhsl(257, 78%, 60%)
HSVhsv(257, 69%, 91%)
CMYKcmyk(49.6%, 69%, 0%, 9%)
CIE-LABlab(44.58, 55.86, -74.36)
CIE-LCHlch(44.58, 93.00, 306.91°)
OKLaboklab(54.67% 0.0762 -0.2134)
OKLCHoklch(54.67% 0.227 289.6)
XYZxyz(24.2148, 14.2418, 77.8013)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7548E8 #BBE848
analogous
#486BE8 #7548E8 #C548E8
triadic
#7548E8 #E87548 #48E875
tetradic
#7548E8 #E8486B #BBE848 #48E8C5
square
#7548E8 #E8486B #BBE848 #48E8C5
split-complementary
#7548E8 #E8C548 #6BE848
monochromatic
#3C14A1 #501BD8 #7548E8 #9E7EEF #C7B5F6

Accessibility & contrast

On white

5.46
#7548E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7548E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7548E8
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7548E8#FFFFFF#000000##FFFFFF
##7548E81.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CED
Deuteranopia (green-blind)
#0066E5
Tritanopia (blue-blind)
#4D7193
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7548e8;
/* rgb */ color: rgb(117, 72, 232);
/* oklch */ color: oklch(54.7% 0.227 289.6);
Tailwind
colors: {
  custom: {
    50: '#a67ef0',
    500: '#7548e8',
    950: '#000000',
  },
}
SCSS
$custom: #7548e8;
$custom-light: #a67ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#7548e8",
  "rgb": {
    "r": 117,
    "g": 72,
    "b": 232
  },
  "hsl": {
    "h": 256.875,
    "s": 77.67,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54672,
    "c": 0.22658,
    "h": 289.6
  },
  "luminance": 0.14243
}

Semantic roles & 50–950 ramp

primary
#7548E8
secondary
#D3E5A7
accent
#F434BE
background
#FAF7FE
surface
#F5EEFD
border
#CFC9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7548E8

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

Preview Lab → · Contrast checker → · Palette generator →

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