#7048E2#7048E2

#7048E2 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.7% C 0.220 H 288.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7048E2
RGBrgb(112, 72, 226)
HSLhsl(256, 73%, 58%)
HSVhsv(256, 68%, 89%)
CMYKcmyk(50.4%, 68.1%, 0%, 11.4%)
CIE-LABlab(43.61, 53.39, -72.56)
CIE-LCHlch(43.61, 90.08, 306.34°)
OKLaboklab(53.72% 0.0703 -0.2083)
OKLCHoklch(53.72% 0.22 288.7)
XYZxyz(22.7229, 13.5694, 73.3586)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7048E2 #BAE248
analogous
#486DE2 #7048E2 #BD48E2
triadic
#7048E2 #E27048 #48E270
tetradic
#7048E2 #E2486D #BAE248 #48E2BD
square
#7048E2 #E2486D #BAE248 #48E2BD
split-complementary
#7048E2 #E2BD48 #6DE248
monochromatic
#391898 #4D20CC #7048E2 #997DEA #C3B2F3

Accessibility & contrast

On white

5.65
#7048E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7048E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7048E2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7048E2#FFFFFF#000000##FFFFFF
##7048E21.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE7
Deuteranopia (green-blind)
#0063DF
Tritanopia (blue-blind)
#476F8F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7048e2;
/* rgb */ color: rgb(112, 72, 226);
/* oklch */ color: oklch(53.7% 0.220 288.7);
Tailwind
colors: {
  custom: {
    50: '#a37eec',
    500: '#7048e2',
    950: '#000000',
  },
}
SCSS
$custom: #7048e2;
$custom-light: #a37eec;
$custom-dark: #000000;
JSON
{
  "hex": "#7048e2",
  "rgb": {
    "r": 112,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 255.584,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53715,
    "c": 0.21983,
    "h": 288.7
  },
  "luminance": 0.1357
}

Semantic roles & 50–950 ramp

primary
#7048E2
secondary
#D2E1A4
accent
#EF38C0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7048E2

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

Preview Lab → · Contrast checker → · Palette generator →

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