#7048E1#7048E1

#7048E1 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.6% C 0.219 H 288.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7048E1
RGBrgb(112, 72, 225)
HSLhsl(256, 72%, 58%)
HSVhsv(256, 68%, 88%)
CMYKcmyk(50.2%, 68%, 0%, 11.8%)
CIE-LABlab(43.53, 53.11, -72.12)
CIE-LCHlch(43.53, 89.56, 306.37°)
OKLaboklab(53.63% 0.0705 -0.207)
OKLCHoklch(53.63% 0.219 288.8)
XYZxyz(22.5861, 13.5147, 72.6381)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7048E1 #B9E148
analogous
#486CE1 #7048E1 #BC48E1
triadic
#7048E1 #E17048 #48E170
tetradic
#7048E1 #E1486C #B9E148 #48E1BC
square
#7048E1 #E1486C #B9E148 #48E1BC
split-complementary
#7048E1 #E1BC48 #6CE148
monochromatic
#391996 #4D21CB #7048E1 #997DEA #C2B1F2

Accessibility & contrast

On white

5.67
#7048E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7048E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7048E1
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7048E1#FFFFFF#000000##FFFFFF
##7048E11.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7048e1;
/* rgb */ color: rgb(112, 72, 225);
/* oklch */ color: oklch(53.6% 0.219 288.8);
Tailwind
colors: {
  custom: {
    50: '#a37eeb',
    500: '#7048e1',
    950: '#000000',
  },
}
SCSS
$custom: #7048e1;
$custom-light: #a37eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#7048e1",
  "rgb": {
    "r": 112,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 255.686,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53633,
    "c": 0.21866,
    "h": 288.8
  },
  "luminance": 0.13516
}

Semantic roles & 50–950 ramp

primary
#7048E1
secondary
#D1E1A4
accent
#EF39BF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7048E1

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

Preview Lab → · Contrast checker → · Palette generator →

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