#704BD4#704BD4

#704BD4 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.0% C 0.200 H 290.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#704BD4
RGBrgb(112, 75, 212)
HSLhsl(256, 61%, 56%)
HSVhsv(256, 65%, 83%)
CMYKcmyk(47.2%, 64.6%, 0%, 16.9%)
CIE-LABlab(43.11, 47.88, -65.38)
CIE-LCHlch(43.11, 81.03, 306.21°)
OKLaboklab(53.02% 0.0694 -0.1872)
OKLCHoklch(53.02% 0.2 290.3)
XYZxyz(21.0785, 13.2296, 63.7175)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BD4 #AFD44B
analogous
#4B6BD4 #704BD4 #B44BD4
triadic
#704BD4 #D4704B #4BD470
tetradic
#704BD4 #D44B6B #AFD44B #4BD4B4
square
#704BD4 #D44B6B #AFD44B #4BD4B4
split-complementary
#704BD4 #D4B44B #6BD44B
monochromatic
#3B2085 #512CB6 #704BD4 #977CE0 #BEAEEC

Accessibility & contrast

On white

5.76
#704BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#704BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BD4
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BD4#FFFFFF#000000##FFFFFF
##704BD41.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#0063D1
Tritanopia (blue-blind)
#506C89
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #704bd4;
/* rgb */ color: rgb(112, 75, 212);
/* oklch */ color: oklch(53.0% 0.200 290.3);
Tailwind
colors: {
  custom: {
    50: '#a17fe2',
    500: '#704bd4',
    950: '#000000',
  },
}
SCSS
$custom: #704bd4;
$custom-light: #a17fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#704bd4",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 212
  },
  "hsl": {
    "h": 256.204,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53015,
    "c": 0.19963,
    "h": 290.3
  },
  "luminance": 0.1323
}

Semantic roles & 50–950 ramp

primary
#704BD4
secondary
#CADAA1
accent
#E543B9
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #704BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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