#703FB2#703FB2

#703FB2 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.7% C 0.175 H 299.4°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#703FB2
RGBrgb(112, 63, 178)
HSLhsl(266, 48%, 47%)
HSVhsv(266, 65%, 70%)
CMYKcmyk(37.1%, 64.6%, 0%, 30.2%)
CIE-LABlab(38.22, 45.16, -53.49)
CIE-LCHlch(38.22, 70.01, 310.18°)
OKLaboklab(48.7% 0.0858 -0.1522)
OKLCHoklch(48.7% 0.175 299.4)
XYZxyz(16.4935, 10.2139, 43.2134)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703FB2 #81B23F
analogous
#3F48B2 #703FB2 #AA3FB2
triadic
#703FB2 #B2703F #3FB270
tetradic
#703FB2 #B23F48 #81B23F #3FB2AA
square
#703FB2 #B23F48 #81B23F #3FB2AA
split-complementary
#703FB2 #B2AA3F #48B23F
monochromatic
#371F58 #542F85 #703FB2 #9066C9 #B193D9

Accessibility & contrast

On white

6.90
#703FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#703FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #703FB2
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703FB2#FFFFFF#000000##FFFFFF
##703FB21.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#0359B0
Tritanopia (blue-blind)
#615973
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #703fb2;
/* rgb */ color: rgb(112, 63, 178);
/* oklch */ color: oklch(48.7% 0.175 299.4);
Tailwind
colors: {
  custom: {
    50: '#9e77ca',
    500: '#703fb2',
    950: '#000000',
  },
}
SCSS
$custom: #703fb2;
$custom-light: #9e77ca;
$custom-dark: #000000;
JSON
{
  "hex": "#703fb2",
  "rgb": {
    "r": 112,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 265.565,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48702,
    "c": 0.17474,
    "h": 299.4
  },
  "luminance": 0.10214
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #703FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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