#7048D0#7048D0

#7048D0 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.3% C 0.199 H 291.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#7048D0
RGBrgb(112, 72, 208)
HSLhsl(258, 59%, 55%)
HSVhsv(258, 65%, 82%)
CMYKcmyk(46.2%, 65.4%, 0%, 18.4%)
CIE-LABlab(42.20, 48.39, -64.55)
CIE-LCHlch(42.20, 80.67, 306.86°)
OKLaboklab(52.27% 0.0729 -0.1847)
OKLCHoklch(52.27% 0.199 291.5)
XYZxyz(20.3814, 12.6328, 61.0268)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7048D0 #A8D048
analogous
#4864D0 #7048D0 #B448D0
triadic
#7048D0 #D07048 #48D070
tetradic
#7048D0 #D04864 #A8D048 #48D0B4
square
#7048D0 #D04864 #A8D048 #48D0B4
split-complementary
#7048D0 #D0B448 #64D048
monochromatic
#3C207D #532DAE #7048D0 #9679DD #BCA9E9

Accessibility & contrast

On white

5.95
#7048D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7048D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7048D0
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7048D0#FFFFFF#000000##FFFFFF
##7048D01.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D4
Deuteranopia (green-blind)
#0061CD
Tritanopia (blue-blind)
#536986
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7048d0;
/* rgb */ color: rgb(112, 72, 208);
/* oklch */ color: oklch(52.3% 0.199 291.5);
Tailwind
colors: {
  custom: {
    50: '#a07ddf',
    500: '#7048d0',
    950: '#000000',
  },
}
SCSS
$custom: #7048d0;
$custom-light: #a07ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#7048d0",
  "rgb": {
    "r": 112,
    "g": 72,
    "b": 208
  },
  "hsl": {
    "h": 257.647,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52269,
    "c": 0.1986,
    "h": 291.5
  },
  "luminance": 0.12634
}

Semantic roles & 50–950 ramp

primary
#7048D0
secondary
#C6D79D
accent
#E245B4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7048D0

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

Preview Lab → · Contrast checker → · Palette generator →

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