#704FDA#704FDA

#704FDA is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.1% C 0.202 H 288.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#704FDA
RGBrgb(112, 79, 218)
HSLhsl(254, 65%, 58%)
HSVhsv(254, 64%, 85%)
CMYKcmyk(48.6%, 63.8%, 0%, 14.5%)
CIE-LABlab(44.37, 47.37, -66.76)
CIE-LCHlch(44.37, 81.85, 305.36°)
OKLaboklab(54.07% 0.0648 -0.1912)
OKLCHoklch(54.07% 0.202 288.7)
XYZxyz(22.1293, 14.0977, 67.8712)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FDA #B9DA4F
analogous
#4F73DA #704FDA #B64FDA
triadic
#704FDA #DA704F #4FDA70
tetradic
#704FDA #DA4F73 #B9DA4F #4FDAB6
square
#704FDA #DA4F73 #B9DA4F #4FDAB6
split-complementary
#704FDA #DAB64F #73DA4F
monochromatic
#391E90 #4D29C3 #704FDA #9982E5 #C2B4EF

Accessibility & contrast

On white

5.50
#704FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#704FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FDA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FDA#FFFFFF#000000##FFFFFF
##704FDA1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDE
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#4C708D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #704fda;
/* rgb */ color: rgb(112, 79, 218);
/* oklch */ color: oklch(54.1% 0.202 288.7);
Tailwind
colors: {
  custom: {
    50: '#a182e6',
    500: '#704fda',
    950: '#000000',
  },
}
SCSS
$custom: #704fda;
$custom-light: #a182e6;
$custom-dark: #000000;
JSON
{
  "hex": "#704fda",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 254.245,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54072,
    "c": 0.20189,
    "h": 288.7
  },
  "luminance": 0.14099
}

Semantic roles & 50–950 ramp

primary
#704FDA
secondary
#D1DEA7
accent
#E840C0
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #704FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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