#704DBB#704DBB

#704DBB is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.5% C 0.166 H 294.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#704DBB
RGBrgb(112, 77, 187)
HSLhsl(259, 45%, 52%)
HSVhsv(259, 59%, 73%)
CMYKcmyk(40.1%, 58.8%, 0%, 26.7%)
CIE-LABlab(41.75, 39.81, -53.09)
CIE-LCHlch(41.75, 66.35, 306.86°)
OKLaboklab(51.47% 0.0689 -0.151)
OKLCHoklch(51.47% 0.166 294.5)
XYZxyz(18.3032, 12.3399, 48.4216)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DBB #98BB4D
analogous
#4D61BB #704DBB #A74DBB
triadic
#704DBB #BB704D #4DBB70
tetradic
#704DBB #BB4D61 #98BB4D #4DBBA7
square
#704DBB #BB4D61 #98BB4D #4DBBA7
split-complementary
#704DBB #BBA74D #61BB4D
monochromatic
#3B2766 #553893 #704DBB #9479CC #B7A6DD

Accessibility & contrast

On white

6.06
#704DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#704DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DBB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DBB#FFFFFF#000000##FFFFFF
##704DBB1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0364BF
Deuteranopia (green-blind)
#1A61B9
Tritanopia (blue-blind)
#5D657C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #704dbb;
/* rgb */ color: rgb(112, 77, 187);
/* oklch */ color: oklch(51.5% 0.166 294.5);
Tailwind
colors: {
  custom: {
    50: '#9e80d0',
    500: '#704dbb',
    950: '#000000',
  },
}
SCSS
$custom: #704dbb;
$custom-light: #9e80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#704dbb",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 187
  },
  "hsl": {
    "h": 259.091,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51467,
    "c": 0.166,
    "h": 294.5
  },
  "luminance": 0.1234
}

Semantic roles & 50–950 ramp

primary
#704DBB
secondary
#BBCA9A
accent
#D453AB
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #704DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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