#7039D2#7039D2

#7039D2 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.5% C 0.218 H 293.4°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7039D2
RGBrgb(112, 57, 210)
HSLhsl(262, 63%, 52%)
HSVhsv(262, 73%, 82%)
CMYKcmyk(46.7%, 72.9%, 0%, 17.6%)
CIE-LABlab(39.62, 56.53, -69.92)
CIE-LCHlch(39.62, 89.91, 308.96°)
OKLaboklab(50.47% 0.0866 -0.2004)
OKLCHoklch(50.47% 0.218 293.4)
XYZxyz(19.7749, 11.0235, 62.0461)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7039D2 #9BD239
analogous
#394ED2 #7039D2 #BD39D2
triadic
#7039D2 #D27039 #39D270
tetradic
#7039D2 #D2394E #9BD239 #39D2BD
square
#7039D2 #D2394E #9BD239 #39D2BD
split-complementary
#7039D2 #D2BD39 #4ED239
monochromatic
#3C1B76 #5526A8 #7039D2 #946BDD #B89DE9

Accessibility & contrast

On white

6.55
#7039D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7039D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7039D2
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7039D2#FFFFFF#000000##FFFFFF
##7039D21.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD6
Deuteranopia (green-blind)
#005BCF
Tritanopia (blue-blind)
#526182
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7039d2;
/* rgb */ color: rgb(112, 57, 210);
/* oklch */ color: oklch(50.5% 0.218 293.4);
Tailwind
colors: {
  custom: {
    50: '#a274e1',
    500: '#7039d2',
    950: '#000000',
  },
}
SCSS
$custom: #7039d2;
$custom-light: #a274e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7039d2",
  "rgb": {
    "r": 112,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 261.569,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50474,
    "c": 0.21837,
    "h": 293.4
  },
  "luminance": 0.11024
}

Semantic roles & 50–950 ramp

primary
#7039D2
secondary
#BDD592
accent
#E642AB
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7039D2

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

Preview Lab → · Contrast checker → · Palette generator →

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