#704BD6#704BD6

#704BD6 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.2% C 0.202 H 290.0°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#704BD6
RGBrgb(112, 75, 214)
HSLhsl(256, 63%, 57%)
HSVhsv(256, 65%, 84%)
CMYKcmyk(47.7%, 65%, 0%, 16.1%)
CIE-LABlab(43.26, 48.44, -66.28)
CIE-LCHlch(43.26, 82.09, 306.16°)
OKLaboklab(53.17% 0.0692 -0.1898)
OKLCHoklch(53.17% 0.202 290)
XYZxyz(21.3323, 13.3311, 65.0545)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BD6 #B1D64B
analogous
#4B6CD6 #704BD6 #B64BD6
triadic
#704BD6 #D6704B #4BD670
tetradic
#704BD6 #D64B6C #B1D64B #4BD6B6
square
#704BD6 #D64B6C #B1D64B #4BD6B6
split-complementary
#704BD6 #D6B64B #6CD64B
monochromatic
#3B1F88 #502ABA #704BD6 #987DE1 #BFAFED

Accessibility & contrast

On white

5.73
#704BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#704BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BD6
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BD6#FFFFFF#000000##FFFFFF
##704BD61.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#0063D3
Tritanopia (blue-blind)
#4F6D8A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #704bd6;
/* rgb */ color: rgb(112, 75, 214);
/* oklch */ color: oklch(53.2% 0.202 290.0);
Tailwind
colors: {
  custom: {
    50: '#a17fe4',
    500: '#704bd6',
    950: '#000000',
  },
}
SCSS
$custom: #704bd6;
$custom-light: #a17fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#704bd6",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 214
  },
  "hsl": {
    "h": 255.971,
    "s": 62.896,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53171,
    "c": 0.20204,
    "h": 290
  },
  "luminance": 0.13332
}

Semantic roles & 50–950 ramp

primary
#704BD6
secondary
#CCDBA2
accent
#E642BA
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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