#704FD4#704FD4

#704FD4 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.6% C 0.195 H 289.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#704FD4
RGBrgb(112, 79, 212)
HSLhsl(255, 61%, 57%)
HSVhsv(255, 63%, 83%)
CMYKcmyk(47.2%, 62.7%, 0%, 16.9%)
CIE-LABlab(43.93, 45.67, -64.04)
CIE-LCHlch(43.93, 78.66, 305.49°)
OKLaboklab(53.61% 0.0653 -0.1832)
OKLCHoklch(53.61% 0.195 289.6)
XYZxyz(21.3584, 13.7893, 63.8108)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FD4 #B3D44F
analogous
#4F71D4 #704FD4 #B34FD4
triadic
#704FD4 #D4704F #4FD470
tetradic
#704FD4 #D44F71 #B3D44F #4FD4B3
square
#704FD4 #D44F71 #B3D44F #4FD4B3
split-complementary
#704FD4 #D4B34F #71D44F
monochromatic
#3B2187 #502DB9 #704FD4 #9880E0 #C0B1EC

Accessibility & contrast

On white

5.59
#704FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#704FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FD4
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FD4#FFFFFF#000000##FFFFFF
##704FD41.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD8
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#506E8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #704fd4;
/* rgb */ color: rgb(112, 79, 212);
/* oklch */ color: oklch(53.6% 0.195 289.6);
Tailwind
colors: {
  custom: {
    50: '#a182e2',
    500: '#704fd4',
    950: '#000000',
  },
}
SCSS
$custom: #704fd4;
$custom-light: #a182e2;
$custom-dark: #000000;
JSON
{
  "hex": "#704fd4",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 254.887,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53611,
    "c": 0.19454,
    "h": 289.6
  },
  "luminance": 0.1379
}

Semantic roles & 50–950 ramp

primary
#704FD4
secondary
#CDDAA4
accent
#E444BC
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #704FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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