#7039BB#7039BB

#7039BB is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.6% C 0.193 H 298.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7039BB
RGBrgb(112, 57, 187)
HSLhsl(265, 53%, 48%)
HSVhsv(265, 70%, 73%)
CMYKcmyk(40.1%, 69.5%, 0%, 26.7%)
CIE-LABlab(37.77, 50.57, -59.54)
CIE-LCHlch(37.77, 78.12, 310.35°)
OKLaboklab(48.59% 0.0912 -0.17)
OKLCHoklch(48.59% 0.193 298.2)
XYZxyz(17.1126, 9.9586, 48.0247)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7039BB #84BB39
analogous
#3943BB #7039BB #B139BB
triadic
#7039BB #BB7039 #39BB70
tetradic
#7039BB #BB3943 #84BB39 #39BBB1
square
#7039BB #BB3943 #84BB39 #39BBB1
split-complementary
#7039BB #BBB139 #43BB39
monochromatic
#381C5D #542B8C #7039BB #9062CF #B191DD

Accessibility & contrast

On white

7.02
#7039BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7039BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7039BB
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7039BB#FFFFFF#000000##FFFFFF
##7039BB1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#5E5876
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7039bb;
/* rgb */ color: rgb(112, 57, 187);
/* oklch */ color: oklch(48.6% 0.193 298.2);
Tailwind
colors: {
  custom: {
    50: '#9f74d0',
    500: '#7039bb',
    950: '#000000',
  },
}
SCSS
$custom: #7039bb;
$custom-light: #9f74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7039bb",
  "rgb": {
    "r": 112,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 265.385,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48585,
    "c": 0.19287,
    "h": 298.2
  },
  "luminance": 0.09959
}

Semantic roles & 50–950 ramp

primary
#7039BB
secondary
#ADC887
accent
#DD4B9F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7039BB

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

Preview Lab → · Contrast checker → · Palette generator →

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