#704FD8#704FD8

#704FD8 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.199 H 289.0°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#704FD8
RGBrgb(112, 79, 216)
HSLhsl(254, 64%, 58%)
HSVhsv(254, 63%, 85%)
CMYKcmyk(48.1%, 63.4%, 0%, 15.3%)
CIE-LABlab(44.22, 46.80, -65.85)
CIE-LCHlch(44.22, 80.79, 305.40°)
OKLaboklab(53.92% 0.0649 -0.1886)
OKLCHoklch(53.92% 0.199 289)
XYZxyz(21.8692, 13.9937, 66.5012)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FD8 #B7D84F
analogous
#4F72D8 #704FD8 #B54FD8
triadic
#704FD8 #D8704F #4FD870
tetradic
#704FD8 #D84F72 #B7D84F #4FD8B5
square
#704FD8 #D84F72 #B7D84F #4FD8B5
split-complementary
#704FD8 #D8B54F #72D84F
monochromatic
#3A1F8D #4E2ABF #704FD8 #9981E3 #C1B3EE

Accessibility & contrast

On white

5.53
#704FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#704FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FD8
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FD8#FFFFFF#000000##FFFFFF
##704FD81.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#4D708C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #704fd8;
/* rgb */ color: rgb(112, 79, 216);
/* oklch */ color: oklch(53.9% 0.199 289.0);
Tailwind
colors: {
  custom: {
    50: '#a182e5',
    500: '#704fd8',
    950: '#000000',
  },
}
SCSS
$custom: #704fd8;
$custom-light: #a182e5;
$custom-dark: #000000;
JSON
{
  "hex": "#704fd8",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 216
  },
  "hsl": {
    "h": 254.453,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53917,
    "c": 0.19945,
    "h": 289
  },
  "luminance": 0.13995
}

Semantic roles & 50–950 ramp

primary
#704FD8
secondary
#D0DDA6
accent
#E741BF
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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