#7048E8#7048E8

#7048E8 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.2% C 0.227 H 287.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7048E8
RGBrgb(112, 72, 232)
HSLhsl(255, 78%, 60%)
HSVhsv(255, 69%, 91%)
CMYKcmyk(51.7%, 69%, 0%, 9%)
CIE-LABlab(44.10, 55.06, -75.17)
CIE-LCHlch(44.10, 93.17, 306.22°)
OKLaboklab(54.21% 0.0693 -0.2159)
OKLCHoklch(54.21% 0.227 287.8)
XYZxyz(23.5607, 13.9045, 77.7707)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7048E8 #C0E848
analogous
#4870E8 #7048E8 #C048E8
triadic
#7048E8 #E87048 #48E870
tetradic
#7048E8 #E84870 #C0E848 #48E8C0
square
#7048E8 #E84870 #C0E848 #48E8C0
split-complementary
#7048E8 #E8C048 #70E848
monochromatic
#3814A1 #4A1BD8 #7048E8 #9A7EEF #C5B5F6

Accessibility & contrast

On white

5.55
#7048E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7048E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7048E8
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7048E8#FFFFFF#000000##FFFFFF
##7048E81.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CED
Deuteranopia (green-blind)
#0064E5
Tritanopia (blue-blind)
#427293
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7048e8;
/* rgb */ color: rgb(112, 72, 232);
/* oklch */ color: oklch(54.2% 0.227 287.8);
Tailwind
colors: {
  custom: {
    50: '#a47ef0',
    500: '#7048e8',
    950: '#000000',
  },
}
SCSS
$custom: #7048e8;
$custom-light: #a47ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#7048e8",
  "rgb": {
    "r": 112,
    "g": 72,
    "b": 232
  },
  "hsl": {
    "h": 255,
    "s": 77.67,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54213,
    "c": 0.22677,
    "h": 287.8
  },
  "luminance": 0.13906
}

Semantic roles & 50–950 ramp

primary
#7048E8
secondary
#D5E5A7
accent
#F434C4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7048E8

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

Preview Lab → · Contrast checker → · Palette generator →

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