#7039CC#7039CC

#7039CC is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.0% C 0.212 H 294.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7039CC
RGBrgb(112, 57, 204)
HSLhsl(262, 59%, 51%)
HSVhsv(262, 72%, 80%)
CMYKcmyk(45.1%, 72.1%, 0%, 20%)
CIE-LABlab(39.12, 54.97, -67.26)
CIE-LCHlch(39.12, 86.86, 309.26°)
OKLaboklab(49.97% 0.088 -0.1926)
OKLCHoklch(49.97% 0.212 294.5)
XYZxyz(19.0413, 10.7301, 58.1829)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7039CC #95CC39
analogous
#394BCC #7039CC #B939CC
triadic
#7039CC #CC7039 #39CC70
tetradic
#7039CC #CC394B #95CC39 #39CCB9
square
#7039CC #CC394B #95CC39 #39CCB9
split-complementary
#7039CC #CCB939 #4BCC39
monochromatic
#3B1C6E #55299F #7039CC #936AD9 #B69AE5

Accessibility & contrast

On white

6.67
#7039CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7039CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7039CC
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7039CC#FFFFFF#000000##FFFFFF
##7039CC1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#565F7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7039cc;
/* rgb */ color: rgb(112, 57, 204);
/* oklch */ color: oklch(50.0% 0.212 294.5);
Tailwind
colors: {
  custom: {
    50: '#a174dd',
    500: '#7039cc',
    950: '#000000',
  },
}
SCSS
$custom: #7039cc;
$custom-light: #a174dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7039cc",
  "rgb": {
    "r": 112,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 262.449,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49968,
    "c": 0.21178,
    "h": 294.5
  },
  "luminance": 0.10731
}

Semantic roles & 50–950 ramp

primary
#7039CC
secondary
#B9D190
accent
#E246A8
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7039CC

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

Preview Lab → · Contrast checker → · Palette generator →

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