#7049CC#7049CC

#7049CC is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.1% C 0.193 H 292.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7049CC
RGBrgb(112, 73, 204)
HSLhsl(258, 56%, 54%)
HSVhsv(258, 64%, 80%)
CMYKcmyk(45.1%, 64.2%, 0%, 20%)
CIE-LABlab(42.11, 46.74, -62.40)
CIE-LCHlch(42.11, 77.96, 306.84°)
OKLaboklab(52.1% 0.0723 -0.1784)
OKLCHoklch(52.1% 0.193 292.1)
XYZxyz(19.9607, 12.5688, 58.4894)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7049CC #A5CC49
analogous
#4964CC #7049CC #B249CC
triadic
#7049CC #CC7049 #49CC70
tetradic
#7049CC #CC4964 #A5CC49 #49CCB2
square
#7049CC #CC4964 #A5CC49 #49CCB2
split-complementary
#7049CC #CCB249 #64CC49
monochromatic
#3C2279 #532FA9 #7049CC #9679D9 #BBA9E7

Accessibility & contrast

On white

5.98
#7049CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7049CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7049CC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7049CC#FFFFFF#000000##FFFFFF
##7049CC1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#556884
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7049cc;
/* rgb */ color: rgb(112, 73, 204);
/* oklch */ color: oklch(52.1% 0.193 292.1);
Tailwind
colors: {
  custom: {
    50: '#a07edc',
    500: '#7049cc',
    950: '#000000',
  },
}
SCSS
$custom: #7049cc;
$custom-light: #a07edc;
$custom-dark: #000000;
JSON
{
  "hex": "#7049cc",
  "rgb": {
    "r": 112,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 257.863,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52104,
    "c": 0.19252,
    "h": 292.1
  },
  "luminance": 0.12569
}

Semantic roles & 50–950 ramp

primary
#7049CC
secondary
#C4D49D
accent
#E048B2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #7049CC

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

Preview Lab → · Contrast checker → · Palette generator →

#7049CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva