#703FB3#703FB3

#703FB3 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.8% C 0.176 H 299.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#703FB3
RGBrgb(112, 63, 179)
HSLhsl(265, 48%, 47%)
HSVhsv(265, 65%, 70%)
CMYKcmyk(37.4%, 64.8%, 0%, 29.8%)
CIE-LABlab(38.29, 45.42, -53.96)
CIE-LCHlch(38.29, 70.54, 310.09°)
OKLaboklab(48.78% 0.0858 -0.1536)
OKLCHoklch(48.78% 0.176 299.2)
XYZxyz(16.5943, 10.2542, 43.7441)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703FB3 #82B33F
analogous
#3F48B3 #703FB3 #AA3FB3
triadic
#703FB3 #B3703F #3FB370
tetradic
#703FB3 #B33F48 #82B33F #3FB3AA
square
#703FB3 #B33F48 #82B33F #3FB3AA
split-complementary
#703FB3 #B3AA3F #48B33F
monochromatic
#371F58 #542F86 #703FB3 #9066C9 #B193D9

Accessibility & contrast

On white

6.88
#703FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#703FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #703FB3
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703FB3#FFFFFF#000000##FFFFFF
##703FB31.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#0059B1
Tritanopia (blue-blind)
#615973
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #703fb3;
/* rgb */ color: rgb(112, 63, 179);
/* oklch */ color: oklch(48.8% 0.176 299.2);
Tailwind
colors: {
  custom: {
    50: '#9e77ca',
    500: '#703fb3',
    950: '#000000',
  },
}
SCSS
$custom: #703fb3;
$custom-light: #9e77ca;
$custom-dark: #000000;
JSON
{
  "hex": "#703fb3",
  "rgb": {
    "r": 112,
    "g": 63,
    "b": 179
  },
  "hsl": {
    "h": 265.345,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48776,
    "c": 0.17591,
    "h": 299.2
  },
  "luminance": 0.10254
}

Semantic roles & 50–950 ramp

primary
#703FB3
secondary
#ABC489
accent
#D8509E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #703FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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