#7039C5#7039C5

#7039C5 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.4% C 0.204 H 296.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7039C5
RGBrgb(112, 57, 197)
HSLhsl(264, 55%, 50%)
HSVhsv(264, 71%, 77%)
CMYKcmyk(43.1%, 71.1%, 0%, 22.7%)
CIE-LABlab(38.55, 53.15, -64.11)
CIE-LCHlch(38.55, 83.28, 309.66°)
OKLaboklab(49.39% 0.0894 -0.1834)
OKLCHoklch(49.39% 0.204 296)
XYZxyz(18.2206, 10.4018, 53.8603)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7039C5 #8EC539
analogous
#3948C5 #7039C5 #B639C5
triadic
#7039C5 #C57039 #39C570
tetradic
#7039C5 #C53948 #8EC539 #39C5B6
square
#7039C5 #C53948 #8EC539 #39C5B6
split-complementary
#7039C5 #C5B639 #48C539
monochromatic
#3A1E66 #552B96 #7039C5 #9268D3 #B497E1

Accessibility & contrast

On white

6.82
#7039C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7039C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7039C5
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7039C5#FFFFFF#000000##FFFFFF
##7039C51.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#0059C2
Tritanopia (blue-blind)
#595C7B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7039c5;
/* rgb */ color: rgb(112, 57, 197);
/* oklch */ color: oklch(49.4% 0.204 296.0);
Tailwind
colors: {
  custom: {
    50: '#a074d8',
    500: '#7039c5',
    950: '#000000',
  },
}
SCSS
$custom: #7039c5;
$custom-light: #a074d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7039c5",
  "rgb": {
    "r": 112,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 263.571,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49389,
    "c": 0.20403,
    "h": 296
  },
  "luminance": 0.10402
}

Semantic roles & 50–950 ramp

primary
#7039C5
secondary
#B4CD8D
accent
#DE49A4
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7039C5

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

Preview Lab → · Contrast checker → · Palette generator →

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