#7048E3#7048E3

#7048E3 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.8% C 0.221 H 288.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7048E3
RGBrgb(112, 72, 227)
HSLhsl(255, 73%, 59%)
HSVhsv(255, 68%, 89%)
CMYKcmyk(50.7%, 68.3%, 0%, 11%)
CIE-LABlab(43.69, 53.66, -72.99)
CIE-LCHlch(43.69, 90.60, 306.32°)
OKLaboklab(53.8% 0.0702 -0.2095)
OKLCHoklch(53.8% 0.221 288.5)
XYZxyz(22.8605, 13.6245, 74.0834)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7048E3 #BBE348
analogous
#486DE3 #7048E3 #BD48E3
triadic
#7048E3 #E37048 #48E370
tetradic
#7048E3 #E3486D #BBE348 #48E3BD
square
#7048E3 #E3486D #BBE348 #48E3BD
split-complementary
#7048E3 #E3BD48 #6DE348
monochromatic
#391799 #4D20CE #7048E3 #997DEB #C3B2F3

Accessibility & contrast

On white

5.64
#7048E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7048E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7048E3
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7048E3#FFFFFF#000000##FFFFFF
##7048E31.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE8
Deuteranopia (green-blind)
#0063E0
Tritanopia (blue-blind)
#467090
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7048e3;
/* rgb */ color: rgb(112, 72, 227);
/* oklch */ color: oklch(53.8% 0.221 288.5);
Tailwind
colors: {
  custom: {
    50: '#a37eed',
    500: '#7048e3',
    950: '#000000',
  },
}
SCSS
$custom: #7048e3;
$custom-light: #a37eed;
$custom-dark: #000000;
JSON
{
  "hex": "#7048e3",
  "rgb": {
    "r": 112,
    "g": 72,
    "b": 227
  },
  "hsl": {
    "h": 255.484,
    "s": 73.46,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53797,
    "c": 0.22099,
    "h": 288.5
  },
  "luminance": 0.13626
}

Semantic roles & 50–950 ramp

primary
#7048E3
secondary
#D2E2A5
accent
#F038C1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7048E3

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

Preview Lab → · Contrast checker → · Palette generator →

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