#704DD3#704DD3

#704DD3 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.2% C 0.196 H 290.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#704DD3
RGBrgb(112, 77, 211)
HSLhsl(256, 60%, 56%)
HSVhsv(256, 64%, 83%)
CMYKcmyk(46.9%, 63.5%, 0%, 17.3%)
CIE-LABlab(43.44, 46.50, -64.26)
CIE-LCHlch(43.44, 79.32, 305.89°)
OKLaboklab(53.23% 0.0675 -0.1839)
OKLCHoklch(53.23% 0.196 290.1)
XYZxyz(21.0905, 13.4548, 63.1012)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DD3 #B0D34D
analogous
#4D6DD3 #704DD3 #B34DD3
triadic
#704DD3 #D3704D #4DD370
tetradic
#704DD3 #D34D6D #B0D34D #4DD3B3
square
#704DD3 #D34D6D #B0D34D #4DD3B3
split-complementary
#704DD3 #D3B34D #6DD34D
monochromatic
#3B2185 #512DB6 #704DD3 #977EDF #BFAFEB

Accessibility & contrast

On white

5.69
#704DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#704DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DD3
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DD3#FFFFFF#000000##FFFFFF
##704DD31.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#516D89
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #704dd3;
/* rgb */ color: rgb(112, 77, 211);
/* oklch */ color: oklch(53.2% 0.196 290.1);
Tailwind
colors: {
  custom: {
    50: '#a181e1',
    500: '#704dd3',
    950: '#000000',
  },
}
SCSS
$custom: #704dd3;
$custom-light: #a181e1;
$custom-dark: #000000;
JSON
{
  "hex": "#704dd3",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 211
  },
  "hsl": {
    "h": 255.672,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53233,
    "c": 0.19589,
    "h": 290.1
  },
  "luminance": 0.13456
}

Semantic roles & 50–950 ramp

primary
#704DD3
secondary
#CBD9A2
accent
#E444BA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #704DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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