#704DFF#704DFF

#704DFF is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.248 H 284.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#704DFF
RGBrgb(112, 77, 255)
HSLhsl(252, 100%, 65%)
HSVhsv(252, 70%, 100%)
CMYKcmyk(56.1%, 69.8%, 0%, 0%)
CIE-LABlab(46.94, 58.94, -83.42)
CIE-LCHlch(46.94, 102.14, 305.24°)
OKLaboklab(56.83% 0.0611 -0.2401)
OKLCHoklch(56.83% 0.248 284.3)
XYZxyz(27.3805, 15.9708, 96.2282)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DFF #DCFF4D
analogous
#4D83FF #704DFF #C94DFF
triadic
#704DFF #FF704D #4DFF70
tetradic
#704DFF #FF4D83 #DCFF4D #4DFFC9
square
#704DFF #FF4D83 #DCFF4D #4DFFC9
split-complementary
#704DFF #FFC94D #83FF4D
monochromatic
#2900D2 #3F10FF #704DFF #A18AFF #D2C7FF

Accessibility & contrast

On white

5.01
#704DFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#704DFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DFF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DFF#FFFFFF#000000##FFFFFF
##704DFF1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074FF
Deuteranopia (green-blind)
#006AFC
Tritanopia (blue-blind)
#267DA1
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #704dff;
/* rgb */ color: rgb(112, 77, 255);
/* oklch */ color: oklch(56.8% 0.248 284.3);
Tailwind
colors: {
  custom: {
    50: '#a682ff',
    500: '#704dff',
    950: '#000000',
  },
}
SCSS
$custom: #704dff;
$custom-light: #a682ff;
$custom-dark: #000000;
JSON
{
  "hex": "#704dff",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 255
  },
  "hsl": {
    "h": 251.798,
    "s": 100,
    "l": 65.098
  },
  "oklch": {
    "l": 0.56826,
    "c": 0.24779,
    "h": 284.3
  },
  "luminance": 0.15972
}

Semantic roles & 50–950 ramp

primary
#704DFF
secondary
#E6F2B6
accent
#E600B8
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #704DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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