#704DB6#704DB6

#704DB6 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.1% C 0.160 H 295.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#704DB6
RGBrgb(112, 77, 182)
HSLhsl(260, 42%, 51%)
HSVhsv(260, 58%, 71%)
CMYKcmyk(38.5%, 57.7%, 0%, 28.6%)
CIE-LABlab(41.42, 38.44, -50.69)
CIE-LCHlch(41.42, 63.61, 307.17°)
OKLaboklab(51.12% 0.0689 -0.144)
OKLCHoklch(51.12% 0.16 295.6)
XYZxyz(17.7773, 12.1296, 45.6515)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DB6 #93B64D
analogous
#4D5EB6 #704DB6 #A44DB6
triadic
#704DB6 #B6704D #4DB670
tetradic
#704DB6 #B64D5E #93B64D #4DB6A4
square
#704DB6 #B64D5E #93B64D #4DB6A4
split-complementary
#704DB6 #B6A44D #5EB64D
monochromatic
#3B2861 #553A8C #704DB6 #9378C8 #B6A4DA

Accessibility & contrast

On white

6.13
#704DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#704DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DB6
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DB6#FFFFFF#000000##FFFFFF
##704DB61.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1462B9
Deuteranopia (green-blind)
#2360B4
Tritanopia (blue-blind)
#5F637A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #704db6;
/* rgb */ color: rgb(112, 77, 182);
/* oklch */ color: oklch(51.1% 0.160 295.6);
Tailwind
colors: {
  custom: {
    50: '#9d80cc',
    500: '#704db6',
    950: '#000000',
  },
}
SCSS
$custom: #704db6;
$custom-light: #9d80cc;
$custom-dark: #000000;
JSON
{
  "hex": "#704db6",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 182
  },
  "hsl": {
    "h": 260,
    "s": 41.833,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51119,
    "c": 0.15964,
    "h": 295.6
  },
  "luminance": 0.1213
}

Semantic roles & 50–950 ramp

primary
#704DB6
secondary
#B7C798
accent
#D256A8
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #704DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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