#704DD8#704DD8

#704DD8 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.6% C 0.202 H 289.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#704DD8
RGBrgb(112, 77, 216)
HSLhsl(255, 64%, 57%)
HSVhsv(255, 64%, 85%)
CMYKcmyk(48.1%, 64.4%, 0%, 15.3%)
CIE-LABlab(43.81, 47.90, -66.52)
CIE-LCHlch(43.81, 81.98, 305.76°)
OKLaboklab(53.62% 0.067 -0.1905)
OKLCHoklch(53.62% 0.202 289.4)
XYZxyz(21.7271, 13.7095, 66.4538)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DD8 #B5D84D
analogous
#4D70D8 #704DD8 #B64DD8
triadic
#704DD8 #D8704D #4DD870
tetradic
#704DD8 #D84D70 #B5D84D #4DD8B6
square
#704DD8 #D84D70 #B5D84D #4DD8B6
split-complementary
#704DD8 #D8B64D #70D84D
monochromatic
#3A1F8C #4F2ABE #704DD8 #987FE3 #C1B1EE

Accessibility & contrast

On white

5.61
#704DD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#704DD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DD8
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DD8#FFFFFF#000000##FFFFFF
##704DD81.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#0064D5
Tritanopia (blue-blind)
#4D6F8C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #704dd8;
/* rgb */ color: rgb(112, 77, 216);
/* oklch */ color: oklch(53.6% 0.202 289.4);
Tailwind
colors: {
  custom: {
    50: '#a181e5',
    500: '#704dd8',
    950: '#000000',
  },
}
SCSS
$custom: #704dd8;
$custom-light: #a181e5;
$custom-dark: #000000;
JSON
{
  "hex": "#704dd8",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 216
  },
  "hsl": {
    "h": 255.108,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5362,
    "c": 0.20196,
    "h": 289.4
  },
  "luminance": 0.1371
}

Semantic roles & 50–950 ramp

primary
#704DD8
secondary
#CEDCA4
accent
#E741BD
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704DD8

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

Preview Lab → · Contrast checker → · Palette generator →

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