#704DBC#704DBC

#704DBC is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.5% C 0.167 H 294.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#704DBC
RGBrgb(112, 77, 188)
HSLhsl(259, 45%, 52%)
HSVhsv(259, 59%, 74%)
CMYKcmyk(40.4%, 59%, 0%, 26.3%)
CIE-LABlab(41.82, 40.08, -53.56)
CIE-LCHlch(41.82, 66.90, 306.81°)
OKLaboklab(51.54% 0.0689 -0.1524)
OKLCHoklch(51.54% 0.167 294.3)
XYZxyz(18.4107, 12.3829, 48.9873)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DBC #99BC4D
analogous
#4D62BC #704DBC #A84DBC
triadic
#704DBC #BC704D #4DBC70
tetradic
#704DBC #BC4D62 #99BC4D #4DBCA8
square
#704DBC #BC4D62 #99BC4D #4DBCA8
split-complementary
#704DBC #BCA84D #62BC4D
monochromatic
#3B2768 #553894 #704DBC #9479CD #B7A6DD

Accessibility & contrast

On white

6.04
#704DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#704DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DBC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DBC#FFFFFF#000000##FFFFFF
##704DBC1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C0
Deuteranopia (green-blind)
#1761BA
Tritanopia (blue-blind)
#5C657D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #704dbc;
/* rgb */ color: rgb(112, 77, 188);
/* oklch */ color: oklch(51.5% 0.167 294.3);
Tailwind
colors: {
  custom: {
    50: '#9e80d1',
    500: '#704dbc',
    950: '#000000',
  },
}
SCSS
$custom: #704dbc;
$custom-light: #9e80d1;
$custom-dark: #000000;
JSON
{
  "hex": "#704dbc",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 188
  },
  "hsl": {
    "h": 258.919,
    "s": 45.306,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51537,
    "c": 0.16727,
    "h": 294.3
  },
  "luminance": 0.12383
}

Semantic roles & 50–950 ramp

primary
#704DBC
secondary
#BBCB9A
accent
#D553AC
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #704DBC

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

Preview Lab → · Contrast checker → · Palette generator →

#704DBC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva