#704FDC#704FDC

#704FDC is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.2% C 0.204 H 288.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#704FDC
RGBrgb(112, 79, 220)
HSLhsl(254, 67%, 59%)
HSVhsv(254, 64%, 86%)
CMYKcmyk(49.1%, 64.1%, 0%, 13.7%)
CIE-LABlab(44.52, 47.94, -67.65)
CIE-LCHlch(44.52, 82.91, 305.32°)
OKLaboklab(54.23% 0.0646 -0.1939)
OKLCHoklch(54.23% 0.204 288.4)
XYZxyz(22.3926, 14.2030, 69.2578)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FDC #BBDC4F
analogous
#4F74DC #704FDC #B74FDC
triadic
#704FDC #DC704F #4FDC70
tetradic
#704FDC #DC4F74 #BBDC4F #4FDCB7
square
#704FDC #DC4F74 #BBDC4F #4FDCB7
split-complementary
#704FDC #DCB74F #74DC4F
monochromatic
#391D93 #4D27C6 #704FDC #9982E6 #C3B5F0

Accessibility & contrast

On white

5.47
#704FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#704FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FDC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FDC#FFFFFF#000000##FFFFFF
##704FDC1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#4B718E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #704fdc;
/* rgb */ color: rgb(112, 79, 220);
/* oklch */ color: oklch(54.2% 0.204 288.4);
Tailwind
colors: {
  custom: {
    50: '#a182e8',
    500: '#704fdc',
    950: '#000000',
  },
}
SCSS
$custom: #704fdc;
$custom-light: #a182e8;
$custom-dark: #000000;
JSON
{
  "hex": "#704fdc",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 220
  },
  "hsl": {
    "h": 254.043,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54227,
    "c": 0.20433,
    "h": 288.4
  },
  "luminance": 0.14204
}

Semantic roles & 50–950 ramp

primary
#704FDC
secondary
#D2DFA8
accent
#EA3EC2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #704FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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