#703FB8#703FB8

#703FB8 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.1% C 0.182 H 298.0°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#703FB8
RGBrgb(112, 63, 184)
HSLhsl(264, 49%, 48%)
HSVhsv(264, 66%, 72%)
CMYKcmyk(39.1%, 65.8%, 0%, 27.8%)
CIE-LABlab(38.66, 46.73, -56.33)
CIE-LCHlch(38.66, 73.19, 309.68°)
OKLaboklab(49.15% 0.0852 -0.1606)
OKLCHoklch(49.15% 0.182 298)
XYZxyz(17.1091, 10.4602, 46.4557)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703FB8 #87B83F
analogous
#3F4AB8 #703FB8 #AC3FB8
triadic
#703FB8 #B8703F #3FB870
tetradic
#703FB8 #B83F4A #87B83F #3FB8AC
square
#703FB8 #B83F4A #87B83F #3FB8AC
split-complementary
#703FB8 #B8AC3F #4AB83F
monochromatic
#38205D #542F8A #703FB8 #9169CC #B296DB

Accessibility & contrast

On white

6.79
#703FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#703FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #703FB8
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703FB8#FFFFFF#000000##FFFFFF
##703FB81.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#5F5B76
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #703fb8;
/* rgb */ color: rgb(112, 63, 184);
/* oklch */ color: oklch(49.1% 0.182 298.0);
Tailwind
colors: {
  custom: {
    50: '#9e77ce',
    500: '#703fb8',
    950: '#000000',
  },
}
SCSS
$custom: #703fb8;
$custom-light: #9e77ce;
$custom-dark: #000000;
JSON
{
  "hex": "#703fb8",
  "rgb": {
    "r": 112,
    "g": 63,
    "b": 184
  },
  "hsl": {
    "h": 264.298,
    "s": 48.988,
    "l": 48.431
  },
  "oklch": {
    "l": 0.4915,
    "c": 0.18178,
    "h": 298
  },
  "luminance": 0.1046
}

Semantic roles & 50–950 ramp

primary
#703FB8
secondary
#AFC78C
accent
#D94FA1
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #703FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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