#7048E6#7048E6

#7048E6 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.0% C 0.224 H 288.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7048E6
RGBrgb(112, 72, 230)
HSLhsl(255, 76%, 59%)
HSVhsv(255, 69%, 90%)
CMYKcmyk(51.3%, 68.7%, 0%, 9.8%)
CIE-LABlab(43.93, 54.50, -74.30)
CIE-LCHlch(43.93, 92.14, 306.26°)
OKLaboklab(54.05% 0.0697 -0.2134)
OKLCHoklch(54.05% 0.224 288.1)
XYZxyz(23.2782, 13.7915, 76.2830)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7048E6 #BEE648
analogous
#486FE6 #7048E6 #BF48E6
triadic
#7048E6 #E67048 #48E670
tetradic
#7048E6 #E6486F #BEE648 #48E6BF
square
#7048E6 #E6486F #BEE648 #48E6BF
split-complementary
#7048E6 #E6BF48 #6FE648
monochromatic
#38169E #4B1DD4 #7048E6 #9A7EED #C4B4F5

Accessibility & contrast

On white

5.59
#7048E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7048E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7048E6
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7048E6#FFFFFF#000000##FFFFFF
##7048E61.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEB
Deuteranopia (green-blind)
#0064E3
Tritanopia (blue-blind)
#447192
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7048e6;
/* rgb */ color: rgb(112, 72, 230);
/* oklch */ color: oklch(54.0% 0.224 288.1);
Tailwind
colors: {
  custom: {
    50: '#a37eef',
    500: '#7048e6',
    950: '#000000',
  },
}
SCSS
$custom: #7048e6;
$custom-light: #a37eef;
$custom-dark: #000000;
JSON
{
  "hex": "#7048e6",
  "rgb": {
    "r": 112,
    "g": 72,
    "b": 230
  },
  "hsl": {
    "h": 255.19,
    "s": 75.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54046,
    "c": 0.22446,
    "h": 288.1
  },
  "luminance": 0.13793
}

Semantic roles & 50–950 ramp

primary
#7048E6
secondary
#D4E4A6
accent
#F335C3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7048E6

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

Preview Lab → · Contrast checker → · Palette generator →

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