#703EBB#703EBB

#703EBB is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.2% C 0.187 H 297.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#703EBB
RGBrgb(112, 62, 187)
HSLhsl(264, 50%, 49%)
HSVhsv(264, 67%, 73%)
CMYKcmyk(40.1%, 66.8%, 0%, 26.7%)
CIE-LABlab(38.69, 48.04, -58.05)
CIE-LCHlch(38.69, 75.34, 309.61°)
OKLaboklab(49.24% 0.086 -0.1656)
OKLCHoklch(49.24% 0.187 297.4)
XYZxyz(17.3720, 10.4776, 48.1112)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703EBB #89BB3E
analogous
#3E4BBB #703EBB #AF3EBB
triadic
#703EBB #BB703E #3EBB70
tetradic
#703EBB #BB3E4B #89BB3E #3EBBAF
square
#703EBB #BB3E4B #89BB3E #3EBBAF
split-complementary
#703EBB #BBAF3E #4BBB3E
monochromatic
#39205F #542F8D #703EBB #9169CD #B397DC

Accessibility & contrast

On white

6.78
#703EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#703EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #703EBB
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703EBB#FFFFFF#000000##FFFFFF
##703EBB1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#5E5B77
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #703ebb;
/* rgb */ color: rgb(112, 62, 187);
/* oklch */ color: oklch(49.2% 0.187 297.4);
Tailwind
colors: {
  custom: {
    50: '#9f77d0',
    500: '#703ebb',
    950: '#000000',
  },
}
SCSS
$custom: #703ebb;
$custom-light: #9f77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#703ebb",
  "rgb": {
    "r": 112,
    "g": 62,
    "b": 187
  },
  "hsl": {
    "h": 264,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49242,
    "c": 0.18659,
    "h": 297.4
  },
  "luminance": 0.10478
}

Semantic roles & 50–950 ramp

primary
#703EBB
secondary
#B0C88D
accent
#DA4EA2
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #703EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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