#703BB7#703BB7

#703BB7 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.5% C 0.186 H 298.9°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#703BB7
RGBrgb(112, 59, 183)
HSLhsl(266, 51%, 47%)
HSVhsv(266, 68%, 72%)
CMYKcmyk(38.8%, 67.8%, 0%, 28.2%)
CIE-LABlab(37.83, 48.54, -57.09)
CIE-LCHlch(37.83, 74.93, 310.38°)
OKLaboklab(48.53% 0.0897 -0.1628)
OKLCHoklch(48.53% 0.186 298.9)
XYZxyz(16.7911, 9.9914, 45.8344)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703BB7 #82B73B
analogous
#3B44B7 #703BB7 #AE3BB7
triadic
#703BB7 #B7703B #3BB770
tetradic
#703BB7 #B73B44 #82B73B #3BB7AE
square
#703BB7 #B73B44 #82B73B #3BB7AE
split-complementary
#703BB7 #B7AE3B #44B73B
monochromatic
#371D5A #542C89 #703BB7 #9063CD #B191DC

Accessibility & contrast

On white

7.00
#703BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#703BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #703BB7
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703BB7#FFFFFF#000000##FFFFFF
##703BB71.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#0058B4
Tritanopia (blue-blind)
#5F5874
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #703bb7;
/* rgb */ color: rgb(112, 59, 183);
/* oklch */ color: oklch(48.5% 0.186 298.9);
Tailwind
colors: {
  custom: {
    50: '#9f75cd',
    500: '#703bb7',
    950: '#000000',
  },
}
SCSS
$custom: #703bb7;
$custom-light: #9f75cd;
$custom-dark: #000000;
JSON
{
  "hex": "#703bb7",
  "rgb": {
    "r": 112,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 265.645,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48532,
    "c": 0.18584,
    "h": 298.9
  },
  "luminance": 0.09992
}

Semantic roles & 50–950 ramp

primary
#703BB7
secondary
#ABC687
accent
#DB4D9E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #703BB7

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

Preview Lab → · Contrast checker → · Palette generator →

#703BB7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva