#7039DC#7039DC

#7039DC is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.3% C 0.229 H 291.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7039DC
RGBrgb(112, 57, 220)
HSLhsl(260, 70%, 54%)
HSVhsv(260, 74%, 86%)
CMYKcmyk(49.1%, 74.1%, 0%, 13.7%)
CIE-LABlab(40.47, 59.15, -74.27)
CIE-LCHlch(40.47, 94.94, 308.53°)
OKLaboklab(51.33% 0.0843 -0.2132)
OKLCHoklch(51.33% 0.229 291.6)
XYZxyz(21.0598, 11.5375, 68.8136)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7039DC #A5DC39
analogous
#3954DC #7039DC #C139DC
triadic
#7039DC #DC7039 #39DC70
tetradic
#7039DC #DC3954 #A5DC39 #39DCC1
square
#7039DC #DC3954 #A5DC39 #39DCC1
split-complementary
#7039DC #DCC139 #54DC39
monochromatic
#3C1783 #5320B7 #7039DC #966DE5 #BBA1EE

Accessibility & contrast

On white

6.35
#7039DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7039DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7039DC
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7039DC#FFFFFF#000000##FFFFFF
##7039DC1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E1
Deuteranopia (green-blind)
#005CD9
Tritanopia (blue-blind)
#4C6588
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7039dc;
/* rgb */ color: rgb(112, 57, 220);
/* oklch */ color: oklch(51.3% 0.229 291.6);
Tailwind
colors: {
  custom: {
    50: '#a375e8',
    500: '#7039dc',
    950: '#000000',
  },
}
SCSS
$custom: #7039dc;
$custom-light: #a375e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7039dc",
  "rgb": {
    "r": 112,
    "g": 57,
    "b": 220
  },
  "hsl": {
    "h": 260.245,
    "s": 69.957,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51335,
    "c": 0.22927,
    "h": 291.6
  },
  "luminance": 0.11538
}

Semantic roles & 50–950 ramp

primary
#7039DC
secondary
#C4DB96
accent
#ED3BB1
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #7039DC

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

Preview Lab → · Contrast checker → · Palette generator →

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