#7048E0#7048E0

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

Color values

HEX#7048E0
RGBrgb(112, 72, 224)
HSLhsl(256, 71%, 58%)
HSVhsv(256, 68%, 88%)
CMYKcmyk(50%, 67.9%, 0%, 12.2%)
CIE-LABlab(43.45, 52.83, -71.68)
CIE-LCHlch(43.45, 89.05, 306.39°)
OKLaboklab(53.55% 0.0707 -0.2057)
OKLCHoklch(53.55% 0.218 289)
XYZxyz(22.4501, 13.4603, 71.9217)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7048E0 #B8E048
analogous
#486CE0 #7048E0 #BC48E0
triadic
#7048E0 #E07048 #48E070
tetradic
#7048E0 #E0486C #B8E048 #48E0BC
square
#7048E0 #E0486C #B8E048 #48E0BC
split-complementary
#7048E0 #E0BC48 #6CE048
monochromatic
#3A1994 #4E22C9 #7048E0 #997CE9 #C2B1F2

Accessibility & contrast

On white

5.69
#7048E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7048E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7048E0
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7048E0#FFFFFF#000000##FFFFFF
##7048E01.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE5
Deuteranopia (green-blind)
#0063DD
Tritanopia (blue-blind)
#486F8E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7048e0;
/* rgb */ color: rgb(112, 72, 224);
/* oklch */ color: oklch(53.6% 0.217 289.0);
Tailwind
colors: {
  custom: {
    50: '#a27eeb',
    500: '#7048e0',
    950: '#000000',
  },
}
SCSS
$custom: #7048e0;
$custom-light: #a27eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#7048e0",
  "rgb": {
    "r": 112,
    "g": 72,
    "b": 224
  },
  "hsl": {
    "h": 255.789,
    "s": 71.028,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53551,
    "c": 0.2175,
    "h": 289
  },
  "luminance": 0.13461
}

Semantic roles & 50–950 ramp

primary
#7048E0
secondary
#D0E0A4
accent
#EE3ABE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7048E0

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

Preview Lab → · Contrast checker → · Palette generator →

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