#703D98#703D98

#703D98 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.6% C 0.147 H 307.5°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#703D98
RGBrgb(112, 61, 152)
HSLhsl(274, 43%, 42%)
HSVhsv(274, 60%, 60%)
CMYKcmyk(26.3%, 59.9%, 0%, 40.4%)
CIE-LABlab(36.08, 39.69, -41.37)
CIE-LCHlch(36.08, 57.33, 313.81°)
OKLaboklab(46.59% 0.0895 -0.1166)
OKLCHoklch(46.59% 0.147 307.5)
XYZxyz(14.0172, 9.0494, 30.7080)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703D98 #65983D
analogous
#423D98 #703D98 #983D93
triadic
#703D98 #98703D #3D9870
tetradic
#703D98 #98423D #65983D #3D9398
square
#703D98 #98423D #65983D #3D9398
split-complementary
#703D98 #93983D #3D9842
monochromatic
#301A41 #502B6C #703D98 #8F57BB #AC82CD

Accessibility & contrast

On white

7.47
#703D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#703D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #703D98
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703D98#FFFFFF#000000##FFFFFF
##703D981.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19539B
Deuteranopia (green-blind)
#2F5596
Tritanopia (blue-blind)
#6A4E64
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #703d98;
/* rgb */ color: rgb(112, 61, 152);
/* oklch */ color: oklch(46.6% 0.147 307.5);
Tailwind
colors: {
  custom: {
    50: '#9c75b7',
    500: '#703d98',
    950: '#000000',
  },
}
SCSS
$custom: #703d98;
$custom-light: #9c75b7;
$custom-dark: #000000;
JSON
{
  "hex": "#703d98",
  "rgb": {
    "r": 112,
    "g": 61,
    "b": 152
  },
  "hsl": {
    "h": 273.626,
    "s": 42.723,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46588,
    "c": 0.14696,
    "h": 307.5
  },
  "luminance": 0.09049
}

Semantic roles & 50–950 ramp

primary
#703D98
secondary
#95B77A
accent
#D3558C
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #703D98

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

Preview Lab → · Contrast checker → · Palette generator →

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