#7039BD#7039BD

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

Color values

HEX#7039BD
RGBrgb(112, 57, 189)
HSLhsl(265, 54%, 48%)
HSVhsv(265, 70%, 74%)
CMYKcmyk(40.7%, 69.8%, 0%, 25.9%)
CIE-LABlab(37.92, 51.09, -60.46)
CIE-LCHlch(37.92, 79.16, 310.20°)
OKLaboklab(48.74% 0.0909 -0.1727)
OKLCHoklch(48.74% 0.195 297.7)
XYZxyz(17.3282, 10.0448, 49.1601)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7039BD #86BD39
analogous
#3944BD #7039BD #B239BD
triadic
#7039BD #BD7039 #39BD70
tetradic
#7039BD #BD3944 #86BD39 #39BDB2
square
#7039BD #BD3944 #86BD39 #39BDB2
split-complementary
#7039BD #BDB239 #44BD39
monochromatic
#381D5F #542B8E #7039BD #9163D0 #B292DE

Accessibility & contrast

On white

6.98
#7039BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7039BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7039BD
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7039BD#FFFFFF#000000##FFFFFF
##7039BD1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#5D5977
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7039bd;
/* rgb */ color: rgb(112, 57, 189);
/* oklch */ color: oklch(48.7% 0.195 297.7);
Tailwind
colors: {
  custom: {
    50: '#9f74d2',
    500: '#7039bd',
    950: '#000000',
  },
}
SCSS
$custom: #7039bd;
$custom-light: #9f74d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7039bd",
  "rgb": {
    "r": 112,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 265,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48743,
    "c": 0.19512,
    "h": 297.7
  },
  "luminance": 0.10045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7039BD

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

Preview Lab → · Contrast checker → · Palette generator →

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