#704DB3#704DB3

#704DB3 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.9% C 0.156 H 296.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#704DB3
RGBrgb(112, 77, 179)
HSLhsl(261, 40%, 50%)
HSVhsv(261, 57%, 70%)
CMYKcmyk(37.4%, 57%, 0%, 29.8%)
CIE-LABlab(41.23, 37.62, -49.24)
CIE-LCHlch(41.23, 61.96, 307.38°)
OKLaboklab(50.91% 0.0689 -0.1397)
OKLCHoklch(50.91% 0.156 296.3)
XYZxyz(17.4706, 12.0069, 44.0362)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DB3 #90B34D
analogous
#4D5DB3 #704DB3 #A34DB3
triadic
#704DB3 #B3704D #4DB370
tetradic
#704DB3 #B34D5D #90B34D #4DB3A3
square
#704DB3 #B34D5D #90B34D #4DB3A3
split-complementary
#704DB3 #B3A34D #5DB34D
monochromatic
#3A285E #553A89 #704DB3 #9278C5 #B5A3D8

Accessibility & contrast

On white

6.17
#704DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#704DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DB3
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DB3#FFFFFF#000000##FFFFFF
##704DB31.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A62B6
Deuteranopia (green-blind)
#2760B1
Tritanopia (blue-blind)
#606278
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #704db3;
/* rgb */ color: rgb(112, 77, 179);
/* oklch */ color: oklch(50.9% 0.156 296.3);
Tailwind
colors: {
  custom: {
    50: '#9d80ca',
    500: '#704db3',
    950: '#000000',
  },
}
SCSS
$custom: #704db3;
$custom-light: #9d80ca;
$custom-dark: #000000;
JSON
{
  "hex": "#704db3",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 179
  },
  "hsl": {
    "h": 260.588,
    "s": 40.157,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50914,
    "c": 0.15579,
    "h": 296.3
  },
  "luminance": 0.12007
}

Semantic roles & 50–950 ramp

primary
#704DB3
secondary
#B5C597
accent
#D058A7
background
#FAF7FC
surface
#F3EEF8
border
#CDC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #704DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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