#7048E5#7048E5

#7048E5 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.0% C 0.223 H 288.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7048E5
RGBrgb(112, 72, 229)
HSLhsl(255, 75%, 59%)
HSVhsv(255, 69%, 90%)
CMYKcmyk(51.1%, 68.6%, 0%, 10.2%)
CIE-LABlab(43.85, 54.22, -73.87)
CIE-LCHlch(43.85, 91.63, 306.28°)
OKLaboklab(53.96% 0.0698 -0.2121)
OKLCHoklch(53.96% 0.223 288.2)
XYZxyz(23.1382, 13.7355, 75.5456)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7048E5 #BDE548
analogous
#486FE5 #7048E5 #BF48E5
triadic
#7048E5 #E57048 #48E570
tetradic
#7048E5 #E5486F #BDE548 #48E5BF
square
#7048E5 #E5486F #BDE548 #48E5BF
split-complementary
#7048E5 #E5BF48 #6FE548
monochromatic
#38169C #4C1ED2 #7048E5 #9A7EED #C4B3F4

Accessibility & contrast

On white

5.60
#7048E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7048E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7048E5
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7048E5#FFFFFF#000000##FFFFFF
##7048E51.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)
#006BEA
Deuteranopia (green-blind)
#0064E2
Tritanopia (blue-blind)
#447091
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7048e5;
/* rgb */ color: rgb(112, 72, 229);
/* oklch */ color: oklch(54.0% 0.223 288.2);
Tailwind
colors: {
  custom: {
    50: '#a37eee',
    500: '#7048e5',
    950: '#000000',
  },
}
SCSS
$custom: #7048e5;
$custom-light: #a37eee;
$custom-dark: #000000;
JSON
{
  "hex": "#7048e5",
  "rgb": {
    "r": 112,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 255.287,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53963,
    "c": 0.22331,
    "h": 288.2
  },
  "luminance": 0.13737
}

Semantic roles & 50–950 ramp

primary
#7048E5
secondary
#D4E3A6
accent
#F236C2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7048E5

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

Preview Lab → · Contrast checker → · Palette generator →

#7048E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva