#7039C2#7039C2

#7039C2 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.1% C 0.201 H 296.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7039C2
RGBrgb(112, 57, 194)
HSLhsl(264, 55%, 49%)
HSVhsv(264, 71%, 76%)
CMYKcmyk(42.3%, 70.6%, 0%, 23.9%)
CIE-LABlab(38.32, 52.38, -62.75)
CIE-LCHlch(38.32, 81.74, 309.85°)
OKLaboklab(49.15% 0.09 -0.1794)
OKLCHoklch(49.15% 0.201 296.6)
XYZxyz(17.8803, 10.2657, 52.0679)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7039C2 #8BC239
analogous
#3946C2 #7039C2 #B539C2
triadic
#7039C2 #C27039 #39C270
tetradic
#7039C2 #C23946 #8BC239 #39C2B5
square
#7039C2 #C23946 #8BC239 #39C2B5
split-complementary
#7039C2 #C2B539 #46C239
monochromatic
#391D63 #552B93 #7039C2 #9166D2 #B395E0

Accessibility & contrast

On white

6.88
#7039C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7039C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7039C2
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7039C2#FFFFFF#000000##FFFFFF
##7039C21.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0058BF
Tritanopia (blue-blind)
#5B5B7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7039c2;
/* rgb */ color: rgb(112, 57, 194);
/* oklch */ color: oklch(49.1% 0.201 296.6);
Tailwind
colors: {
  custom: {
    50: '#a074d5',
    500: '#7039c2',
    950: '#000000',
  },
}
SCSS
$custom: #7039c2;
$custom-light: #a074d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7039c2",
  "rgb": {
    "r": 112,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 264.088,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49145,
    "c": 0.2007,
    "h": 296.6
  },
  "luminance": 0.10266
}

Semantic roles & 50–950 ramp

primary
#7039C2
secondary
#B2CB8B
accent
#DE4AA2
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #7039C2

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

Preview Lab → · Contrast checker → · Palette generator →

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