#704DFC#704DFC

#704DFC is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.6% C 0.244 H 284.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#704DFC
RGBrgb(112, 77, 252)
HSLhsl(252, 97%, 65%)
HSVhsv(252, 69%, 99%)
CMYKcmyk(55.6%, 69.4%, 0%, 1.2%)
CIE-LABlab(46.68, 58.10, -82.16)
CIE-LCHlch(46.68, 100.63, 305.26°)
OKLaboklab(56.57% 0.0617 -0.2365)
OKLCHoklch(56.57% 0.244 284.6)
XYZxyz(26.9013, 15.7792, 93.7047)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DFC #D9FC4D
analogous
#4D82FC #704DFC #C84DFC
triadic
#704DFC #FC704D #4DFC70
tetradic
#704DFC #FC4D82 #D9FC4D #4DFCC8
square
#704DFC #FC4D82 #D9FC4D #4DFCC8
split-complementary
#704DFC #FCC84D #82FC4D
monochromatic
#2B03CB #4011FB #704DFC #A089FD #D1C5FE

Accessibility & contrast

On white

5.05
#704DFC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#704DFC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DFC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DFC#FFFFFF#000000##FFFFFF
##704DFC1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074FF
Deuteranopia (green-blind)
#0069F9
Tritanopia (blue-blind)
#2B7C9F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #704dfc;
/* rgb */ color: rgb(112, 77, 252);
/* oklch */ color: oklch(56.6% 0.244 284.6);
Tailwind
colors: {
  custom: {
    50: '#a682ff',
    500: '#704dfc',
    950: '#000000',
  },
}
SCSS
$custom: #704dfc;
$custom-light: #a682ff;
$custom-dark: #000000;
JSON
{
  "hex": "#704dfc",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 252
  },
  "hsl": {
    "h": 252,
    "s": 96.685,
    "l": 64.51
  },
  "oklch": {
    "l": 0.56569,
    "c": 0.24436,
    "h": 284.6
  },
  "luminance": 0.15781
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #704DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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