#7039B2#7039B2

#7039B2 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.9% C 0.183 H 300.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7039B2
RGBrgb(112, 57, 178)
HSLhsl(267, 51%, 46%)
HSVhsv(267, 68%, 70%)
CMYKcmyk(37.1%, 68%, 0%, 30.2%)
CIE-LABlab(37.09, 48.28, -55.33)
CIE-LCHlch(37.09, 73.43, 311.11°)
OKLaboklab(47.89% 0.0925 -0.1576)
OKLCHoklch(47.89% 0.183 300.4)
XYZxyz(16.1791, 9.5852, 43.1086)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7039B2 #7BB239
analogous
#393EB2 #7039B2 #AC39B2
triadic
#7039B2 #B27039 #39B270
tetradic
#7039B2 #B2393E #7BB239 #39B2AC
square
#7039B2 #B2393E #7BB239 #39B2AC
split-complementary
#7039B2 #B2AC39 #3EB239
monochromatic
#361B55 #532A84 #7039B2 #8F5DCB #AF8BDA

Accessibility & contrast

On white

7.20
#7039B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7039B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7039B2
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7039B2#FFFFFF#000000##FFFFFF
##7039B21.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#0056AF
Tritanopia (blue-blind)
#615571
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7039b2;
/* rgb */ color: rgb(112, 57, 178);
/* oklch */ color: oklch(47.9% 0.183 300.4);
Tailwind
colors: {
  custom: {
    50: '#9e73ca',
    500: '#7039b2',
    950: '#000000',
  },
}
SCSS
$custom: #7039b2;
$custom-light: #9e73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7039b2",
  "rgb": {
    "r": 112,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 267.273,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47885,
    "c": 0.18275,
    "h": 300.4
  },
  "luminance": 0.09585
}

Semantic roles & 50–950 ramp

primary
#7039B2
secondary
#A6C482
accent
#DB4D9A
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7039B2

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

Preview Lab → · Contrast checker → · Palette generator →

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