#703FCB#703FCB

#703FCB is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.6% C 0.204 H 293.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#703FCB
RGBrgb(112, 63, 203)
HSLhsl(261, 57%, 52%)
HSVhsv(261, 69%, 80%)
CMYKcmyk(44.8%, 69%, 0%, 20.4%)
CIE-LABlab(40.10, 51.75, -65.08)
CIE-LCHlch(40.10, 83.15, 308.49°)
OKLaboklab(50.64% 0.0826 -0.1863)
OKLCHoklch(50.64% 0.204 293.9)
XYZxyz(19.2362, 11.3110, 57.6581)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703FCB #9ACB3F
analogous
#3F54CB #703FCB #B63FCB
triadic
#703FCB #CB703F #3FCB70
tetradic
#703FCB #CB3F54 #9ACB3F #3FCBB6
square
#703FCB #CB3F54 #9ACB3F #3FCBB6
split-complementary
#703FCB #CBB63F #54CB3F
monochromatic
#3B1F71 #552CA1 #703FCB #946FD8 #B89FE5

Accessibility & contrast

On white

6.44
#703FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#703FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #703FCB
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703FCB#FFFFFF#000000##FFFFFF
##703FCB1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#566280
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #703fcb;
/* rgb */ color: rgb(112, 63, 203);
/* oklch */ color: oklch(50.6% 0.204 293.9);
Tailwind
colors: {
  custom: {
    50: '#a078dc',
    500: '#703fcb',
    950: '#000000',
  },
}
SCSS
$custom: #703fcb;
$custom-light: #a078dc;
$custom-dark: #000000;
JSON
{
  "hex": "#703fcb",
  "rgb": {
    "r": 112,
    "g": 63,
    "b": 203
  },
  "hsl": {
    "h": 261,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50638,
    "c": 0.20376,
    "h": 293.9
  },
  "luminance": 0.11312
}

Semantic roles & 50–950 ramp

primary
#703FCB
secondary
#BCD194
accent
#E147AB
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #703FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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