#704DD6#704DD6

#704DD6 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.5% C 0.200 H 289.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#704DD6
RGBrgb(112, 77, 214)
HSLhsl(255, 63%, 57%)
HSVhsv(255, 64%, 84%)
CMYKcmyk(47.7%, 64%, 0%, 16.1%)
CIE-LABlab(43.66, 47.34, -65.62)
CIE-LCHlch(43.66, 80.91, 305.81°)
OKLaboklab(53.46% 0.0672 -0.1879)
OKLCHoklch(53.46% 0.2 289.7)
XYZxyz(21.4701, 13.6067, 65.1004)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DD6 #B3D64D
analogous
#4D6FD6 #704DD6 #B44DD6
triadic
#704DD6 #D6704D #4DD670
tetradic
#704DD6 #D64D6F #B3D64D #4DD6B4
square
#704DD6 #D64D6F #B3D64D #4DD6B4
split-complementary
#704DD6 #D6B44D #6FD64D
monochromatic
#3B2089 #502BBB #704DD6 #987FE1 #C0B0ED

Accessibility & contrast

On white

5.64
#704DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#704DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DD6
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DD6#FFFFFF#000000##FFFFFF
##704DD61.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADA
Deuteranopia (green-blind)
#0064D3
Tritanopia (blue-blind)
#4F6E8B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #704dd6;
/* rgb */ color: rgb(112, 77, 214);
/* oklch */ color: oklch(53.5% 0.200 289.7);
Tailwind
colors: {
  custom: {
    50: '#a181e4',
    500: '#704dd6',
    950: '#000000',
  },
}
SCSS
$custom: #704dd6;
$custom-light: #a181e4;
$custom-dark: #000000;
JSON
{
  "hex": "#704dd6",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 214
  },
  "hsl": {
    "h": 255.328,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53464,
    "c": 0.19954,
    "h": 289.7
  },
  "luminance": 0.13608
}

Semantic roles & 50–950 ramp

primary
#704DD6
secondary
#CDDBA4
accent
#E642BC
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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