#703FA2#703FA2

#703FA2 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.6% C 0.156 H 303.9°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#703FA2
RGBrgb(112, 63, 162)
HSLhsl(270, 44%, 44%)
HSVhsv(270, 61%, 64%)
CMYKcmyk(30.9%, 61.1%, 0%, 36.5%)
CIE-LABlab(37.13, 41.07, -45.71)
CIE-LCHlch(37.13, 61.45, 311.94°)
OKLaboklab(47.56% 0.0868 -0.1293)
OKLCHoklch(47.56% 0.156 303.9)
XYZxyz(14.9797, 9.6084, 35.2409)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703FA2 #71A23F
analogous
#3F40A2 #703FA2 #A23FA2
triadic
#703FA2 #A2703F #3FA270
tetradic
#703FA2 #A23F40 #71A23F #3FA2A2
square
#703FA2 #A23F40 #71A23F #3FA2A2
split-complementary
#703FA2 #A2A23F #40A23F
monochromatic
#331D4A #522E76 #703FA2 #8F5EC0 #AD8AD1

Accessibility & contrast

On white

7.19
#703FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#703FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #703FA2
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703FA2#FFFFFF#000000##FFFFFF
##703FA21.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A56A5
Deuteranopia (green-blind)
#2757A0
Tritanopia (blue-blind)
#67536A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #703fa2;
/* rgb */ color: rgb(112, 63, 162);
/* oklch */ color: oklch(47.6% 0.156 303.9);
Tailwind
colors: {
  custom: {
    50: '#9c76be',
    500: '#703fa2',
    950: '#000000',
  },
}
SCSS
$custom: #703fa2;
$custom-light: #9c76be;
$custom-dark: #000000;
JSON
{
  "hex": "#703fa2",
  "rgb": {
    "r": 112,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 269.697,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47561,
    "c": 0.15576,
    "h": 303.9
  },
  "luminance": 0.09608
}

Semantic roles & 50–950 ramp

primary
#703FA2
secondary
#9FBC81
accent
#D45495
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0F0912
muted
#7E7B81

Preview Lab

Preview with #703FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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