#7039B8#7039B8

#7039B8 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.3% C 0.190 H 298.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#7039B8
RGBrgb(112, 57, 184)
HSLhsl(266, 53%, 47%)
HSVhsv(266, 69%, 72%)
CMYKcmyk(39.1%, 69%, 0%, 27.8%)
CIE-LABlab(37.54, 49.81, -58.14)
CIE-LCHlch(37.54, 76.56, 310.58°)
OKLaboklab(48.35% 0.0917 -0.1659)
OKLCHoklch(48.35% 0.19 298.9)
XYZxyz(16.7948, 9.8315, 46.3509)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7039B8 #81B839
analogous
#3942B8 #7039B8 #AF39B8
triadic
#7039B8 #B87039 #39B870
tetradic
#7039B8 #B83942 #81B839 #39B8AF
square
#7039B8 #B83942 #81B839 #39B8AF
split-complementary
#7039B8 #B8AF39 #42B839
monochromatic
#371C5B #542B89 #7039B8 #9060CE #B18FDC

Accessibility & contrast

On white

7.08
#7039B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7039B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7039B8
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7039B8#FFFFFF#000000##FFFFFF
##7039B81.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#0057B5
Tritanopia (blue-blind)
#5F5774
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7039b8;
/* rgb */ color: rgb(112, 57, 184);
/* oklch */ color: oklch(48.3% 0.190 298.9);
Tailwind
colors: {
  custom: {
    50: '#9f73ce',
    500: '#7039b8',
    950: '#000000',
  },
}
SCSS
$custom: #7039b8;
$custom-light: #9f73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7039b8",
  "rgb": {
    "r": 112,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 265.984,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48349,
    "c": 0.18951,
    "h": 298.9
  },
  "luminance": 0.09832
}

Semantic roles & 50–950 ramp

primary
#7039B8
secondary
#ABC786
accent
#DC4C9E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7039B8

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

Preview Lab → · Contrast checker → · Palette generator →

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