#7039C4#7039C4

#7039C4 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.3% C 0.203 H 296.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7039C4
RGBrgb(112, 57, 196)
HSLhsl(264, 55%, 50%)
HSVhsv(264, 71%, 77%)
CMYKcmyk(42.9%, 70.9%, 0%, 23.1%)
CIE-LABlab(38.47, 52.89, -63.66)
CIE-LCHlch(38.47, 82.77, 309.72°)
OKLaboklab(49.31% 0.0896 -0.1821)
OKLCHoklch(49.31% 0.203 296.2)
XYZxyz(18.1064, 10.3561, 53.2588)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7039C4 #8DC439
analogous
#3947C4 #7039C4 #B639C4
triadic
#7039C4 #C47039 #39C470
tetradic
#7039C4 #C43947 #8DC439 #39C4B6
square
#7039C4 #C43947 #8DC439 #39C4B6
split-complementary
#7039C4 #C4B639 #47C439
monochromatic
#3A1D65 #552B95 #7039C4 #9267D3 #B497E1

Accessibility & contrast

On white

6.84
#7039C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7039C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7039C4
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7039C4#FFFFFF#000000##FFFFFF
##7039C41.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#0059C1
Tritanopia (blue-blind)
#5A5C7B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7039c4;
/* rgb */ color: rgb(112, 57, 196);
/* oklch */ color: oklch(49.3% 0.203 296.2);
Tailwind
colors: {
  custom: {
    50: '#a074d7',
    500: '#7039c4',
    950: '#000000',
  },
}
SCSS
$custom: #7039c4;
$custom-light: #a074d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7039c4",
  "rgb": {
    "r": 112,
    "g": 57,
    "b": 196
  },
  "hsl": {
    "h": 263.741,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49308,
    "c": 0.20292,
    "h": 296.2
  },
  "luminance": 0.10357
}

Semantic roles & 50–950 ramp

primary
#7039C4
secondary
#B3CC8D
accent
#DE4AA3
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7039C4

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

Preview Lab → · Contrast checker → · Palette generator →

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