#703CBB#703CBB

#703CBB is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.0% C 0.189 H 297.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#703CBB
RGBrgb(112, 60, 187)
HSLhsl(265, 51%, 48%)
HSVhsv(265, 68%, 73%)
CMYKcmyk(40.1%, 67.9%, 0%, 26.7%)
CIE-LABlab(38.31, 49.07, -58.65)
CIE-LCHlch(38.31, 76.47, 309.91°)
OKLaboklab(48.97% 0.0881 -0.1674)
OKLCHoklch(48.97% 0.189 297.8)
XYZxyz(17.2653, 10.2640, 48.0756)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703CBB #87BB3C
analogous
#3C47BB #703CBB #AF3CBB
triadic
#703CBB #BB703C #3CBB70
tetradic
#703CBB #BB3C47 #87BB3C #3CBBAF
square
#703CBB #BB3C47 #87BB3C #3CBBAF
split-complementary
#703CBB #BBAF3C #47BB3C
monochromatic
#381E5E #542D8D #703CBB #9166CE #B295DD

Accessibility & contrast

On white

6.88
#703CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#703CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #703CBB
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703CBB#FFFFFF#000000##FFFFFF
##703CBB1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#5E5A77
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #703cbb;
/* rgb */ color: rgb(112, 60, 187);
/* oklch */ color: oklch(49.0% 0.189 297.8);
Tailwind
colors: {
  custom: {
    50: '#9f75d0',
    500: '#703cbb',
    950: '#000000',
  },
}
SCSS
$custom: #703cbb;
$custom-light: #9f75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#703cbb",
  "rgb": {
    "r": 112,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 264.567,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48974,
    "c": 0.18915,
    "h": 297.8
  },
  "luminance": 0.10264
}

Semantic roles & 50–950 ramp

primary
#703CBB
secondary
#AFC88B
accent
#DB4DA1
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #703CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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