#7049C2#7049C2

#7049C2 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.3% C 0.180 H 293.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7049C2
RGBrgb(112, 73, 194)
HSLhsl(259, 50%, 52%)
HSVhsv(259, 62%, 76%)
CMYKcmyk(42.3%, 62.4%, 0%, 23.9%)
CIE-LABlab(41.38, 43.99, -57.77)
CIE-LCHlch(41.38, 72.61, 307.29°)
OKLaboklab(51.35% 0.0732 -0.1648)
OKLCHoklch(51.35% 0.18 293.9)
XYZxyz(18.7996, 12.1044, 52.3744)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7049C2 #9BC249
analogous
#495FC2 #7049C2 #AD49C2
triadic
#7049C2 #C27049 #49C270
tetradic
#7049C2 #C2495F #9BC249 #49C2AD
square
#7049C2 #C2495F #9BC249 #49C2AD
split-complementary
#7049C2 #C2AD49 #5FC249
monochromatic
#3C246C #55349A #7049C2 #9477D1 #B8A5E1

Accessibility & contrast

On white

6.14
#7049C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7049C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7049C2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7049C2#FFFFFF#000000##FFFFFF
##7049C21.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#5A657F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7049c2;
/* rgb */ color: rgb(112, 73, 194);
/* oklch */ color: oklch(51.3% 0.180 293.9);
Tailwind
colors: {
  custom: {
    50: '#9f7ed5',
    500: '#7049c2',
    950: '#000000',
  },
}
SCSS
$custom: #7049c2;
$custom-light: #9f7ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#7049c2",
  "rgb": {
    "r": 112,
    "g": 73,
    "b": 194
  },
  "hsl": {
    "h": 259.339,
    "s": 49.794,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5135,
    "c": 0.18033,
    "h": 293.9
  },
  "luminance": 0.12105
}

Semantic roles & 50–950 ramp

primary
#7049C2
secondary
#BDCE99
accent
#D94EAD
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7049C2

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

Preview Lab → · Contrast checker → · Palette generator →

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