#704DBE#704DBE

#704DBE is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.7% C 0.170 H 293.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#704DBE
RGBrgb(112, 77, 190)
HSLhsl(259, 47%, 52%)
HSVhsv(259, 59%, 75%)
CMYKcmyk(41.1%, 59.5%, 0%, 25.5%)
CIE-LABlab(41.95, 40.63, -54.52)
CIE-LCHlch(41.95, 67.99, 306.70°)
OKLaboklab(51.68% 0.0688 -0.1552)
OKLCHoklch(51.68% 0.17 293.9)
XYZxyz(18.6278, 12.4697, 50.1307)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DBE #9BBE4D
analogous
#4D63BE #704DBE #A84DBE
triadic
#704DBE #BE704D #4DBE70
tetradic
#704DBE #BE4D63 #9BBE4D #4DBEA8
square
#704DBE #BE4D63 #9BBE4D #4DBEA8
split-complementary
#704DBE #BEA84D #63BE4D
monochromatic
#3C276A #553797 #704DBE #947ACE #B8A7DF

Accessibility & contrast

On white

6.01
#704DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#704DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DBE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DBE#FFFFFF#000000##FFFFFF
##704DBE1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#1261BC
Tritanopia (blue-blind)
#5B667E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #704dbe;
/* rgb */ color: rgb(112, 77, 190);
/* oklch */ color: oklch(51.7% 0.170 293.9);
Tailwind
colors: {
  custom: {
    50: '#9e80d2',
    500: '#704dbe',
    950: '#000000',
  },
}
SCSS
$custom: #704dbe;
$custom-light: #9e80d2;
$custom-dark: #000000;
JSON
{
  "hex": "#704dbe",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 258.584,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51679,
    "c": 0.1698,
    "h": 293.9
  },
  "luminance": 0.1247
}

Semantic roles & 50–950 ramp

primary
#704DBE
secondary
#BDCC9B
accent
#D652AD
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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