#7048D2#7048D2

#7048D2 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.4% C 0.201 H 291.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7048D2
RGBrgb(112, 72, 210)
HSLhsl(257, 61%, 55%)
HSVhsv(257, 66%, 82%)
CMYKcmyk(46.7%, 65.7%, 0%, 17.6%)
CIE-LABlab(42.36, 48.94, -65.45)
CIE-LCHlch(42.36, 81.73, 306.79°)
OKLaboklab(52.43% 0.0727 -0.1874)
OKLCHoklch(52.43% 0.201 291.2)
XYZxyz(20.6290, 12.7319, 62.3308)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7048D2 #AAD248
analogous
#4865D2 #7048D2 #B548D2
triadic
#7048D2 #D27048 #48D270
tetradic
#7048D2 #D24865 #AAD248 #48D2B5
square
#7048D2 #D24865 #AAD248 #48D2B5
split-complementary
#7048D2 #D2B548 #65D248
monochromatic
#3B2080 #522CB1 #7048D2 #9679DE #BDAAEA

Accessibility & contrast

On white

5.92
#7048D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7048D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7048D2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7048D2#FFFFFF#000000##FFFFFF
##7048D21.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#516A87
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7048d2;
/* rgb */ color: rgb(112, 72, 210);
/* oklch */ color: oklch(52.4% 0.201 291.2);
Tailwind
colors: {
  custom: {
    50: '#a17de1',
    500: '#7048d2',
    950: '#000000',
  },
}
SCSS
$custom: #7048d2;
$custom-light: #a17de1;
$custom-dark: #000000;
JSON
{
  "hex": "#7048d2",
  "rgb": {
    "r": 112,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 257.391,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52426,
    "c": 0.20098,
    "h": 291.2
  },
  "luminance": 0.12733
}

Semantic roles & 50–950 ramp

primary
#7048D2
secondary
#C7D89E
accent
#E444B5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7048D2

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

Preview Lab → · Contrast checker → · Palette generator →

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