#7048E4#7048E4

#7048E4 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.9% C 0.222 H 288.4°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7048E4
RGBrgb(112, 72, 228)
HSLhsl(255, 74%, 59%)
HSVhsv(255, 68%, 89%)
CMYKcmyk(50.9%, 68.4%, 0%, 10.6%)
CIE-LABlab(43.77, 53.94, -73.43)
CIE-LCHlch(43.77, 91.11, 306.30°)
OKLaboklab(53.88% 0.07 -0.2108)
OKLCHoklch(53.88% 0.222 288.4)
XYZxyz(22.9990, 13.6798, 74.8124)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7048E4 #BCE448
analogous
#486EE4 #7048E4 #BE48E4
triadic
#7048E4 #E47048 #48E470
tetradic
#7048E4 #E4486E #BCE448 #48E4BE
square
#7048E4 #E4486E #BCE448 #48E4BE
split-complementary
#7048E4 #E4BE48 #6EE448
monochromatic
#39179B #4C1FD0 #7048E4 #9A7DEC #C3B3F4

Accessibility & contrast

On white

5.62
#7048E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7048E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7048E4
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7048E4#FFFFFF#000000##FFFFFF
##7048E41.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE9
Deuteranopia (green-blind)
#0063E1
Tritanopia (blue-blind)
#457091
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7048e4;
/* rgb */ color: rgb(112, 72, 228);
/* oklch */ color: oklch(53.9% 0.222 288.4);
Tailwind
colors: {
  custom: {
    50: '#a37eee',
    500: '#7048e4',
    950: '#000000',
  },
}
SCSS
$custom: #7048e4;
$custom-light: #a37eee;
$custom-dark: #000000;
JSON
{
  "hex": "#7048e4",
  "rgb": {
    "r": 112,
    "g": 72,
    "b": 228
  },
  "hsl": {
    "h": 255.385,
    "s": 74.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5388,
    "c": 0.22215,
    "h": 288.4
  },
  "luminance": 0.13681
}

Semantic roles & 50–950 ramp

primary
#7048E4
secondary
#D3E3A5
accent
#F137C1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7048E4

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

Preview Lab → · Contrast checker → · Palette generator →

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