#703CB7#703CB7

#703CB7 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.7% C 0.185 H 298.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#703CB7
RGBrgb(112, 60, 183)
HSLhsl(265, 51%, 48%)
HSVhsv(265, 67%, 72%)
CMYKcmyk(38.8%, 67.2%, 0%, 28.2%)
CIE-LABlab(38.01, 48.03, -56.78)
CIE-LCHlch(38.01, 74.37, 310.23°)
OKLaboklab(48.67% 0.0886 -0.1619)
OKLCHoklch(48.67% 0.185 298.7)
XYZxyz(16.8430, 10.0951, 45.8517)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703CB7 #83B73C
analogous
#3C45B7 #703CB7 #AD3CB7
triadic
#703CB7 #B7703C #3CB770
tetradic
#703CB7 #B73C45 #83B73C #3CB7AD
square
#703CB7 #B73C45 #83B73C #3CB7AD
split-complementary
#703CB7 #B7AD3C #45B73C
monochromatic
#381E5B #542D89 #703CB7 #9064CC #B192DB

Accessibility & contrast

On white

6.96
#703CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#703CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #703CB7
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703CB7#FFFFFF#000000##FFFFFF
##703CB71.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#0058B4
Tritanopia (blue-blind)
#5F5974
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #703cb7;
/* rgb */ color: rgb(112, 60, 183);
/* oklch */ color: oklch(48.7% 0.185 298.7);
Tailwind
colors: {
  custom: {
    50: '#9f75cd',
    500: '#703cb7',
    950: '#000000',
  },
}
SCSS
$custom: #703cb7;
$custom-light: #9f75cd;
$custom-dark: #000000;
JSON
{
  "hex": "#703cb7",
  "rgb": {
    "r": 112,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 265.366,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48665,
    "c": 0.18455,
    "h": 298.7
  },
  "luminance": 0.10095
}

Semantic roles & 50–950 ramp

primary
#703CB7
secondary
#ACC688
accent
#DA4E9F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #703CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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