#7048EC#7048EC

#7048EC is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.5% C 0.231 H 287.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7048EC
RGBrgb(112, 72, 236)
HSLhsl(255, 81%, 60%)
HSVhsv(255, 69%, 93%)
CMYKcmyk(52.5%, 69.5%, 0%, 7.5%)
CIE-LABlab(44.43, 56.17, -76.89)
CIE-LCHlch(44.43, 95.22, 306.15°)
OKLaboklab(54.55% 0.0686 -0.221)
OKLCHoklch(54.55% 0.231 287.2)
XYZxyz(24.1353, 14.1344, 80.7971)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7048EC #C4EC48
analogous
#4872EC #7048EC #C248EC
triadic
#7048EC #EC7048 #48EC70
tetradic
#7048EC #EC4872 #C4EC48 #48ECC2
square
#7048EC #EC4872 #C4EC48 #48ECC2
split-complementary
#7048EC #ECC248 #72EC48
monochromatic
#3611A8 #4817E0 #7048EC #9B7FF2 #C7B7F8

Accessibility & contrast

On white

5.49
#7048EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7048EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7048EC
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7048EC#FFFFFF#000000##FFFFFF
##7048EC1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF1
Deuteranopia (green-blind)
#0064E9
Tritanopia (blue-blind)
#3E7395
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7048ec;
/* rgb */ color: rgb(112, 72, 236);
/* oklch */ color: oklch(54.5% 0.231 287.2);
Tailwind
colors: {
  custom: {
    50: '#a47ef3',
    500: '#7048ec',
    950: '#000000',
  },
}
SCSS
$custom: #7048ec;
$custom-light: #a47ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#7048ec",
  "rgb": {
    "r": 112,
    "g": 72,
    "b": 236
  },
  "hsl": {
    "h": 254.634,
    "s": 81.188,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5455,
    "c": 0.23137,
    "h": 287.2
  },
  "luminance": 0.14136
}

Semantic roles & 50–950 ramp

primary
#7048EC
secondary
#D8E7A9
accent
#DE08A9
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7048EC

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

Preview Lab → · Contrast checker → · Palette generator →

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