#7048DC#7048DC

#7048DC is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.2% C 0.213 H 289.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7048DC
RGBrgb(112, 72, 220)
HSLhsl(256, 68%, 57%)
HSVhsv(256, 67%, 86%)
CMYKcmyk(49.1%, 67.3%, 0%, 13.7%)
CIE-LABlab(43.13, 51.72, -69.92)
CIE-LCHlch(43.13, 86.97, 306.49°)
OKLaboklab(53.23% 0.0713 -0.2005)
OKLCHoklch(53.23% 0.213 289.6)
XYZxyz(21.9140, 13.2459, 69.0983)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7048DC #B4DC48
analogous
#486ADC #7048DC #BA48DC
triadic
#7048DC #DC7048 #48DC70
tetradic
#7048DC #DC486A #B4DC48 #48DCBA
square
#7048DC #DC486A #B4DC48 #48DCBA
split-complementary
#7048DC #DCBA48 #6ADC48
monochromatic
#3A1B8E #4F25C2 #7048DC #987BE6 #C0AFF0

Accessibility & contrast

On white

5.75
#7048DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7048DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7048DC
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7048DC#FFFFFF#000000##FFFFFF
##7048DC1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#0062D9
Tritanopia (blue-blind)
#4B6D8C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7048dc;
/* rgb */ color: rgb(112, 72, 220);
/* oklch */ color: oklch(53.2% 0.213 289.6);
Tailwind
colors: {
  custom: {
    50: '#a27ee8',
    500: '#7048dc',
    950: '#000000',
  },
}
SCSS
$custom: #7048dc;
$custom-light: #a27ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#7048dc",
  "rgb": {
    "r": 112,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 256.216,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53225,
    "c": 0.21281,
    "h": 289.6
  },
  "luminance": 0.13247
}

Semantic roles & 50–950 ramp

primary
#7048DC
secondary
#CEDEA2
accent
#EB3DBC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7048DC

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

Preview Lab → · Contrast checker → · Palette generator →

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