#7039CA#7039CA

#7039CA is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.8% C 0.210 H 294.9°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7039CA
RGBrgb(112, 57, 202)
HSLhsl(263, 58%, 51%)
HSVhsv(263, 72%, 79%)
CMYKcmyk(44.6%, 71.8%, 0%, 20.8%)
CIE-LABlab(38.96, 54.45, -66.36)
CIE-LCHlch(38.96, 85.84, 309.37°)
OKLaboklab(49.8% 0.0884 -0.19)
OKLCHoklch(49.8% 0.21 294.9)
XYZxyz(18.8030, 10.6348, 56.9277)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7039CA #93CA39
analogous
#394ACA #7039CA #B939CA
triadic
#7039CA #CA7039 #39CA70
tetradic
#7039CA #CA394A #93CA39 #39CAB9
square
#7039CA #CA394A #93CA39 #39CAB9
split-complementary
#7039CA #CAB939 #4ACA39
monochromatic
#3B1D6C #552A9C #7039CA #9369D7 #B69AE4

Accessibility & contrast

On white

6.72
#7039CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7039CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7039CA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7039CA#FFFFFF#000000##FFFFFF
##7039CA1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#575E7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7039ca;
/* rgb */ color: rgb(112, 57, 202);
/* oklch */ color: oklch(49.8% 0.210 294.9);
Tailwind
colors: {
  custom: {
    50: '#a174db',
    500: '#7039ca',
    950: '#000000',
  },
}
SCSS
$custom: #7039ca;
$custom-light: #a174db;
$custom-dark: #000000;
JSON
{
  "hex": "#7039ca",
  "rgb": {
    "r": 112,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 262.759,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49802,
    "c": 0.20957,
    "h": 294.9
  },
  "luminance": 0.10635
}

Semantic roles & 50–950 ramp

primary
#7039CA
secondary
#B7D08F
accent
#E147A7
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7039CA

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

Preview Lab → · Contrast checker → · Palette generator →

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