#7048D8#7048D8

#7048D8 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.9% C 0.208 H 290.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#7048D8
RGBrgb(112, 72, 216)
HSLhsl(257, 65%, 56%)
HSVhsv(257, 67%, 85%)
CMYKcmyk(48.1%, 66.7%, 0%, 15.3%)
CIE-LABlab(42.82, 50.61, -68.14)
CIE-LCHlch(42.82, 84.88, 306.60°)
OKLaboklab(52.9% 0.0719 -0.1953)
OKLCHoklch(52.9% 0.208 290.2)
XYZxyz(21.3906, 13.0365, 66.3417)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7048D8 #B0D848
analogous
#4868D8 #7048D8 #B848D8
triadic
#7048D8 #D87048 #48D870
tetradic
#7048D8 #D84868 #B0D848 #48D8B8
square
#7048D8 #D84868 #B0D848 #48D8B8
split-complementary
#7048D8 #D8B848 #68D848
monochromatic
#3B1D89 #5128BB #7048D8 #977AE3 #BFADEE

Accessibility & contrast

On white

5.82
#7048D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7048D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7048D8
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7048D8#FFFFFF#000000##FFFFFF
##7048D81.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DC
Deuteranopia (green-blind)
#0062D5
Tritanopia (blue-blind)
#4E6C8A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7048d8;
/* rgb */ color: rgb(112, 72, 216);
/* oklch */ color: oklch(52.9% 0.208 290.2);
Tailwind
colors: {
  custom: {
    50: '#a17ee5',
    500: '#7048d8',
    950: '#000000',
  },
}
SCSS
$custom: #7048d8;
$custom-light: #a17ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#7048d8",
  "rgb": {
    "r": 112,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 256.667,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52902,
    "c": 0.2081,
    "h": 290.2
  },
  "luminance": 0.13037
}

Semantic roles & 50–950 ramp

primary
#7048D8
secondary
#CBDBA0
accent
#E840B9
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7048D8

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

Preview Lab → · Contrast checker → · Palette generator →

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