#7039BA#7039BA

#7039BA is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.5% C 0.192 H 298.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7039BA
RGBrgb(112, 57, 186)
HSLhsl(266, 53%, 48%)
HSVhsv(266, 69%, 73%)
CMYKcmyk(39.8%, 69.4%, 0%, 27.1%)
CIE-LABlab(37.69, 50.32, -59.07)
CIE-LCHlch(37.69, 77.60, 310.42°)
OKLaboklab(48.51% 0.0914 -0.1686)
OKLCHoklch(48.51% 0.192 298.4)
XYZxyz(17.0059, 9.9159, 47.4629)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7039BA #83BA39
analogous
#3943BA #7039BA #B039BA
triadic
#7039BA #BA7039 #39BA70
tetradic
#7039BA #BA3943 #83BA39 #39BAB0
square
#7039BA #BA3943 #83BA39 #39BAB0
split-complementary
#7039BA #BAB039 #43BA39
monochromatic
#381C5C #542B8B #7039BA #9061CF #B190DD

Accessibility & contrast

On white

7.04
#7039BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7039BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7039BA
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7039BA#FFFFFF#000000##FFFFFF
##7039BA1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#5E5875
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7039ba;
/* rgb */ color: rgb(112, 57, 186);
/* oklch */ color: oklch(48.5% 0.192 298.4);
Tailwind
colors: {
  custom: {
    50: '#9f74d0',
    500: '#7039ba',
    950: '#000000',
  },
}
SCSS
$custom: #7039ba;
$custom-light: #9f74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7039ba",
  "rgb": {
    "r": 112,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 265.581,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48506,
    "c": 0.19176,
    "h": 298.4
  },
  "luminance": 0.09916
}

Semantic roles & 50–950 ramp

primary
#7039BA
secondary
#ACC887
accent
#DC4B9F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7039BA

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

Preview Lab → · Contrast checker → · Palette generator →

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