#7048DA#7048DA

#7048DA is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.1% C 0.210 H 289.9°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7048DA
RGBrgb(112, 72, 218)
HSLhsl(256, 66%, 57%)
HSVhsv(256, 67%, 85%)
CMYKcmyk(48.6%, 67%, 0%, 14.5%)
CIE-LABlab(42.97, 51.16, -69.03)
CIE-LCHlch(42.97, 85.92, 306.54°)
OKLaboklab(53.06% 0.0716 -0.1979)
OKLCHoklch(53.06% 0.21 289.9)
XYZxyz(21.6507, 13.1405, 67.7117)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7048DA #B2DA48
analogous
#4869DA #7048DA #B948DA
triadic
#7048DA #DA7048 #48DA70
tetradic
#7048DA #DA4869 #B2DA48 #48DAB9
square
#7048DA #DA4869 #B2DA48 #48DAB9
split-complementary
#7048DA #DAB948 #69DA48
monochromatic
#3B1C8B #5026BE #7048DA #987BE4 #C0AEEF

Accessibility & contrast

On white

5.79
#7048DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7048DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7048DA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7048DA#FFFFFF#000000##FFFFFF
##7048DA1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DE
Deuteranopia (green-blind)
#0062D7
Tritanopia (blue-blind)
#4C6C8B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7048da;
/* rgb */ color: rgb(112, 72, 218);
/* oklch */ color: oklch(53.1% 0.210 289.9);
Tailwind
colors: {
  custom: {
    50: '#a27ee6',
    500: '#7048da',
    950: '#000000',
  },
}
SCSS
$custom: #7048da;
$custom-light: #a27ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#7048da",
  "rgb": {
    "r": 112,
    "g": 72,
    "b": 218
  },
  "hsl": {
    "h": 256.438,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53063,
    "c": 0.21047,
    "h": 289.9
  },
  "luminance": 0.13141
}

Semantic roles & 50–950 ramp

primary
#7048DA
secondary
#CCDDA1
accent
#E93FBB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7048DA

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

Preview Lab → · Contrast checker → · Palette generator →

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