#7048CD#7048CD

#7048CD is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.0% C 0.195 H 292.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7048CD
RGBrgb(112, 72, 205)
HSLhsl(258, 57%, 54%)
HSVhsv(258, 65%, 80%)
CMYKcmyk(45.4%, 64.9%, 0%, 19.6%)
CIE-LABlab(41.98, 47.56, -63.18)
CIE-LCHlch(41.98, 79.08, 306.97°)
OKLaboklab(52.04% 0.0733 -0.1807)
OKLCHoklch(52.04% 0.195 292.1)
XYZxyz(20.0158, 12.4866, 59.1013)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7048CD #A5CD48
analogous
#4863CD #7048CD #B348CD
triadic
#7048CD #CD7048 #48CD70
tetradic
#7048CD #CD4863 #A5CD48 #48CDB3
square
#7048CD #CD4863 #A5CD48 #48CDB3
split-complementary
#7048CD #CDB348 #63CD48
monochromatic
#3C2179 #532EA9 #7048CD #9678DA #BBA8E7

Accessibility & contrast

On white

6.00
#7048CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7048CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7048CD
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7048CD#FFFFFF#000000##FFFFFF
##7048CD1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#546884
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7048cd;
/* rgb */ color: rgb(112, 72, 205);
/* oklch */ color: oklch(52.0% 0.195 292.1);
Tailwind
colors: {
  custom: {
    50: '#a07ddd',
    500: '#7048cd',
    950: '#000000',
  },
}
SCSS
$custom: #7048cd;
$custom-light: #a07ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#7048cd",
  "rgb": {
    "r": 112,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 258.045,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52036,
    "c": 0.195,
    "h": 292.1
  },
  "luminance": 0.12487
}

Semantic roles & 50–950 ramp

primary
#7048CD
secondary
#C4D59C
accent
#E047B2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #7048CD

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

Preview Lab → · Contrast checker → · Palette generator →

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