#7048C8#7048C8

#7048C8 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.189 H 293.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7048C8
RGBrgb(112, 72, 200)
HSLhsl(259, 54%, 53%)
HSVhsv(259, 64%, 78%)
CMYKcmyk(44%, 64%, 0%, 21.6%)
CIE-LABlab(41.61, 46.19, -60.89)
CIE-LCHlch(41.61, 76.42, 307.18°)
OKLaboklab(51.65% 0.0738 -0.174)
OKLCHoklch(51.65% 0.189 293)
XYZxyz(19.4219, 12.2490, 55.9734)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7048C8 #A0C848
analogous
#4860C8 #7048C8 #B048C8
triadic
#7048C8 #C87048 #48C870
tetradic
#7048C8 #C84860 #A0C848 #48C8B0
square
#7048C8 #C84860 #A0C848 #48C8B0
split-complementary
#7048C8 #C8B048 #60C848
monochromatic
#3C2373 #5431A2 #7048C8 #9577D6 #BAA6E4

Accessibility & contrast

On white

6.09
#7048C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7048C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7048C8
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7048C8#FFFFFF#000000##FFFFFF
##7048C81.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#576681
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7048c8;
/* rgb */ color: rgb(112, 72, 200);
/* oklch */ color: oklch(51.7% 0.189 293.0);
Tailwind
colors: {
  custom: {
    50: '#a07dda',
    500: '#7048c8',
    950: '#000000',
  },
}
SCSS
$custom: #7048c8;
$custom-light: #a07dda;
$custom-dark: #000000;
JSON
{
  "hex": "#7048c8",
  "rgb": {
    "r": 112,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 258.75,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51652,
    "c": 0.18898,
    "h": 293
  },
  "luminance": 0.1225
}

Semantic roles & 50–950 ramp

primary
#7048C8
secondary
#C0D19A
accent
#DD4BAF
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #7048C8

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

Preview Lab → · Contrast checker → · Palette generator →

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