#7039B5#7039B5

#7039B5 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.1% C 0.186 H 299.7°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7039B5
RGBrgb(112, 57, 181)
HSLhsl(267, 52%, 47%)
HSVhsv(267, 69%, 71%)
CMYKcmyk(38.1%, 68.5%, 0%, 29%)
CIE-LABlab(37.31, 49.04, -56.74)
CIE-LCHlch(37.31, 75.00, 310.84°)
OKLaboklab(48.12% 0.0921 -0.1617)
OKLCHoklch(48.12% 0.186 299.7)
XYZxyz(16.4836, 9.7070, 44.7123)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7039B5 #7EB539
analogous
#3940B5 #7039B5 #AE39B5
triadic
#7039B5 #B57039 #39B570
tetradic
#7039B5 #B53940 #7EB539 #39B5AE
square
#7039B5 #B53940 #7EB539 #39B5AE
split-complementary
#7039B5 #B5AE39 #40B539
monochromatic
#361C58 #532A86 #7039B5 #8F5FCD #B08DDB

Accessibility & contrast

On white

7.14
#7039B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7039B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7039B5
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7039B5#FFFFFF#000000##FFFFFF
##7039B51.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#0057B2
Tritanopia (blue-blind)
#605672
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7039b5;
/* rgb */ color: rgb(112, 57, 181);
/* oklch */ color: oklch(48.1% 0.186 299.7);
Tailwind
colors: {
  custom: {
    50: '#9f73cc',
    500: '#7039b5',
    950: '#000000',
  },
}
SCSS
$custom: #7039b5;
$custom-light: #9f73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7039b5",
  "rgb": {
    "r": 112,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 266.613,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48115,
    "c": 0.18613,
    "h": 299.7
  },
  "luminance": 0.09707
}

Semantic roles & 50–950 ramp

primary
#7039B5
secondary
#A9C684
accent
#DC4C9C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7039B5

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

Preview Lab → · Contrast checker → · Palette generator →

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