#7049CB#7049CB

#7049CB is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.0% C 0.191 H 292.2°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#7049CB
RGBrgb(112, 73, 203)
HSLhsl(258, 56%, 54%)
HSVhsv(258, 64%, 80%)
CMYKcmyk(44.8%, 64%, 0%, 20.4%)
CIE-LABlab(42.03, 46.47, -61.94)
CIE-LCHlch(42.03, 77.43, 306.88°)
OKLaboklab(52.03% 0.0724 -0.1771)
OKLCHoklch(52.03% 0.191 292.2)
XYZxyz(19.8411, 12.5210, 57.8597)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7049CB #A4CB49
analogous
#4963CB #7049CB #B149CB
triadic
#7049CB #CB7049 #49CB70
tetradic
#7049CB #CB4963 #A4CB49 #49CBB1
square
#7049CB #CB4963 #A4CB49 #49CBB1
split-complementary
#7049CB #CBB149 #63CB49
monochromatic
#3C2277 #5430A7 #7049CB #9579D9 #BBA8E6

Accessibility & contrast

On white

5.99
#7049CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7049CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7049CB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7049CB#FFFFFF#000000##FFFFFF
##7049CB1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#556883
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7049cb;
/* rgb */ color: rgb(112, 73, 203);
/* oklch */ color: oklch(52.0% 0.191 292.2);
Tailwind
colors: {
  custom: {
    50: '#a07edc',
    500: '#7049cb',
    950: '#000000',
  },
}
SCSS
$custom: #7049cb;
$custom-light: #a07edc;
$custom-dark: #000000;
JSON
{
  "hex": "#7049cb",
  "rgb": {
    "r": 112,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 258,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52027,
    "c": 0.19131,
    "h": 292.2
  },
  "luminance": 0.12522
}

Semantic roles & 50–950 ramp

primary
#7049CB
secondary
#C3D49C
accent
#DF49B2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #7049CB

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

Preview Lab → · Contrast checker → · Palette generator →

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