#703FB7#703FB7

#703FB7 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.1% C 0.181 H 298.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#703FB7
RGBrgb(112, 63, 183)
HSLhsl(265, 49%, 48%)
HSVhsv(265, 66%, 72%)
CMYKcmyk(38.8%, 65.6%, 0%, 28.2%)
CIE-LABlab(38.58, 46.47, -55.86)
CIE-LCHlch(38.58, 72.66, 309.76°)
OKLaboklab(49.08% 0.0854 -0.1592)
OKLCHoklch(49.08% 0.181 298.2)
XYZxyz(17.0047, 10.4184, 45.9056)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703FB7 #86B73F
analogous
#3F4AB7 #703FB7 #AC3FB7
triadic
#703FB7 #B7703F #3FB770
tetradic
#703FB7 #B73F4A #86B73F #3FB7AC
square
#703FB7 #B73F4A #86B73F #3FB7AC
split-complementary
#703FB7 #B7AC3F #4AB73F
monochromatic
#38205C #542F89 #703FB7 #9168CB #B296DB

Accessibility & contrast

On white

6.81
#703FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#703FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #703FB7
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703FB7#FFFFFF#000000##FFFFFF
##703FB71.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#005AB4
Tritanopia (blue-blind)
#5F5B75
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #703fb7;
/* rgb */ color: rgb(112, 63, 183);
/* oklch */ color: oklch(49.1% 0.181 298.2);
Tailwind
colors: {
  custom: {
    50: '#9e77cd',
    500: '#703fb7',
    950: '#000000',
  },
}
SCSS
$custom: #703fb7;
$custom-light: #9e77cd;
$custom-dark: #000000;
JSON
{
  "hex": "#703fb7",
  "rgb": {
    "r": 112,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 264.5,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49075,
    "c": 0.18061,
    "h": 298.2
  },
  "luminance": 0.10419
}

Semantic roles & 50–950 ramp

primary
#703FB7
secondary
#AEC68B
accent
#D84FA0
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #703FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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