#7039B7#7039B7

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

Color values

HEX#7039B7
RGBrgb(112, 57, 183)
HSLhsl(266, 53%, 47%)
HSVhsv(266, 69%, 72%)
CMYKcmyk(38.8%, 68.9%, 0%, 28.2%)
CIE-LABlab(37.46, 49.55, -57.68)
CIE-LCHlch(37.46, 76.04, 310.67°)
OKLaboklab(48.27% 0.0918 -0.1645)
OKLCHoklch(48.27% 0.188 299.2)
XYZxyz(16.6903, 9.7897, 45.8008)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7039B7 #80B739
analogous
#3941B7 #7039B7 #AF39B7
triadic
#7039B7 #B77039 #39B770
tetradic
#7039B7 #B73941 #80B739 #39B7AF
square
#7039B7 #B73941 #80B739 #39B7AF
split-complementary
#7039B7 #B7AF39 #41B739
monochromatic
#371C5A #532A88 #7039B7 #9060CD #B08EDC

Accessibility & contrast

On white

7.10
#7039B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7039B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7039B7
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7039B7#FFFFFF#000000##FFFFFF
##7039B71.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#0057B4
Tritanopia (blue-blind)
#5F5773
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7039b7;
/* rgb */ color: rgb(112, 57, 183);
/* oklch */ color: oklch(48.3% 0.188 299.2);
Tailwind
colors: {
  custom: {
    50: '#9f73cd',
    500: '#7039b7',
    950: '#000000',
  },
}
SCSS
$custom: #7039b7;
$custom-light: #9f73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7039b7",
  "rgb": {
    "r": 112,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 266.19,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48271,
    "c": 0.18839,
    "h": 299.2
  },
  "luminance": 0.0979
}

Semantic roles & 50–950 ramp

primary
#7039B7
secondary
#AAC785
accent
#DC4C9D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7039B7

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

Preview Lab → · Contrast checker → · Palette generator →

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