#703FA8#703FA8

#703FA8 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.0% C 0.163 H 302.1°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#703FA8
RGBrgb(112, 63, 168)
HSLhsl(268, 45%, 45%)
HSVhsv(268, 63%, 66%)
CMYKcmyk(33.3%, 62.5%, 0%, 34.1%)
CIE-LABlab(37.53, 42.59, -48.66)
CIE-LCHlch(37.53, 64.67, 311.19°)
OKLaboklab(47.98% 0.0866 -0.138)
OKLCHoklch(47.98% 0.163 302.1)
XYZxyz(15.5258, 9.8269, 38.1170)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703FA8 #77A83F
analogous
#3F42A8 #703FA8 #A53FA8
triadic
#703FA8 #A8703F #3FA870
tetradic
#703FA8 #A83F42 #77A83F #3FA8A5
square
#703FA8 #A83F42 #77A83F #3FA8A5
split-complementary
#703FA8 #A8A53F #42A83F
monochromatic
#351E4F #522E7B #703FA8 #8F61C4 #AE8DD4

Accessibility & contrast

On white

7.08
#703FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#703FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #703FA8
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703FA8#FFFFFF#000000##FFFFFF
##703FA81.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#1E58A6
Tritanopia (blue-blind)
#65556D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #703fa8;
/* rgb */ color: rgb(112, 63, 168);
/* oklch */ color: oklch(48.0% 0.163 302.1);
Tailwind
colors: {
  custom: {
    50: '#9d77c2',
    500: '#703fa8',
    950: '#000000',
  },
}
SCSS
$custom: #703fa8;
$custom-light: #9d77c2;
$custom-dark: #000000;
JSON
{
  "hex": "#703fa8",
  "rgb": {
    "r": 112,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 268,
    "s": 45.455,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47979,
    "c": 0.16291,
    "h": 302.1
  },
  "luminance": 0.09827
}

Semantic roles & 50–950 ramp

primary
#703FA8
secondary
#A3BF84
accent
#D55398
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #703FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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