#7049C8#7049C8

#7049C8 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.8% C 0.188 H 292.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7049C8
RGBrgb(112, 73, 200)
HSLhsl(258, 54%, 54%)
HSVhsv(258, 64%, 78%)
CMYKcmyk(44%, 63.5%, 0%, 21.6%)
CIE-LABlab(41.81, 45.64, -60.56)
CIE-LCHlch(41.81, 75.83, 307.00°)
OKLaboklab(51.8% 0.0727 -0.173)
OKLCHoklch(51.8% 0.188 292.8)
XYZxyz(19.4871, 12.3794, 55.9951)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7049C8 #A1C849
analogous
#4961C8 #7049C8 #AF49C8
triadic
#7049C8 #C87049 #49C870
tetradic
#7049C8 #C84961 #A1C849 #49C8AF
square
#7049C8 #C84961 #A1C849 #49C8AF
split-complementary
#7049C8 #C8AF49 #61C849
monochromatic
#3C2374 #5431A3 #7049C8 #9578D6 #BAA7E4

Accessibility & contrast

On white

6.04
#7049C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7049C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7049C8
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7049C8#FFFFFF#000000##FFFFFF
##7049C81.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7049c8;
/* rgb */ color: rgb(112, 73, 200);
/* oklch */ color: oklch(51.8% 0.188 292.8);
Tailwind
colors: {
  custom: {
    50: '#9f7eda',
    500: '#7049c8',
    950: '#000000',
  },
}
SCSS
$custom: #7049c8;
$custom-light: #9f7eda;
$custom-dark: #000000;
JSON
{
  "hex": "#7049c8",
  "rgb": {
    "r": 112,
    "g": 73,
    "b": 200
  },
  "hsl": {
    "h": 258.425,
    "s": 53.586,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51799,
    "c": 0.18767,
    "h": 292.8
  },
  "luminance": 0.1238
}

Semantic roles & 50–950 ramp

primary
#7049C8
secondary
#C1D29B
accent
#DD4BB0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #7049C8

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

Preview Lab → · Contrast checker → · Palette generator →

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