#7039BC#7039BC

#7039BC is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.7% C 0.194 H 298.0°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#7039BC
RGBrgb(112, 57, 188)
HSLhsl(265, 53%, 48%)
HSVhsv(265, 70%, 74%)
CMYKcmyk(40.4%, 69.7%, 0%, 26.3%)
CIE-LABlab(37.85, 50.83, -60.00)
CIE-LCHlch(37.85, 78.64, 310.27°)
OKLaboklab(48.66% 0.091 -0.1713)
OKLCHoklch(48.66% 0.194 298)
XYZxyz(17.2200, 10.0016, 48.5904)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7039BC #85BC39
analogous
#3943BC #7039BC #B139BC
triadic
#7039BC #BC7039 #39BC70
tetradic
#7039BC #BC3943 #85BC39 #39BCB1
square
#7039BC #BC3943 #85BC39 #39BCB1
split-complementary
#7039BC #BCB139 #43BC39
monochromatic
#381D5E #542B8D #7039BC #9063D0 #B292DE

Accessibility & contrast

On white

7.00
#7039BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7039BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7039BC
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7039BC#FFFFFF#000000##FFFFFF
##7039BC1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#5D5976
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7039bc;
/* rgb */ color: rgb(112, 57, 188);
/* oklch */ color: oklch(48.7% 0.194 298.0);
Tailwind
colors: {
  custom: {
    50: '#9f74d1',
    500: '#7039bc',
    950: '#000000',
  },
}
SCSS
$custom: #7039bc;
$custom-light: #9f74d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7039bc",
  "rgb": {
    "r": 112,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 265.191,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48664,
    "c": 0.194,
    "h": 298
  },
  "luminance": 0.10002
}

Semantic roles & 50–950 ramp

primary
#7039BC
secondary
#AEC988
accent
#DD4BA0
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #7039BC

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

Preview Lab → · Contrast checker → · Palette generator →

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