#704CF7#704CF7

#704CF7 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.0% C 0.240 H 285.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#704CF7
RGBrgb(112, 76, 247)
HSLhsl(253, 91%, 63%)
HSVhsv(253, 69%, 97%)
CMYKcmyk(54.7%, 69.2%, 0%, 3.1%)
CIE-LABlab(46.08, 57.20, -80.36)
CIE-LCHlch(46.08, 98.64, 305.44°)
OKLaboklab(56.01% 0.0633 -0.2312)
OKLCHoklch(56.01% 0.24 285.3)
XYZxyz(26.0500, 15.3275, 89.5635)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CF7 #D3F74C
analogous
#4C7DF7 #704CF7 #C64CF7
triadic
#704CF7 #F7704C #4CF770
tetradic
#704CF7 #F74C7D #D3F74C #4CF7C6
square
#704CF7 #F74C7D #D3F74C #4CF7C6
split-complementary
#704CF7 #F7C64C #7DF74C
monochromatic
#2F09C0 #4111F4 #704CF7 #9F87FA #CEC1FC

Accessibility & contrast

On white

5.17
#704CF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#704CF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CF7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CF7#FFFFFF#000000##FFFFFF
##704CF71.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072FC
Deuteranopia (green-blind)
#0068F4
Tritanopia (blue-blind)
#32799C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #704cf7;
/* rgb */ color: rgb(112, 76, 247);
/* oklch */ color: oklch(56.0% 0.240 285.3);
Tailwind
colors: {
  custom: {
    50: '#a581fb',
    500: '#704cf7',
    950: '#000000',
  },
}
SCSS
$custom: #704cf7;
$custom-light: #a581fb;
$custom-dark: #000000;
JSON
{
  "hex": "#704cf7",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 247
  },
  "hsl": {
    "h": 252.632,
    "s": 91.444,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5601,
    "c": 0.23969,
    "h": 285.3
  },
  "luminance": 0.15329
}

Semantic roles & 50–950 ramp

primary
#704CF7
secondary
#E1EEB1
accent
#E600B5
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110A18
muted
#807C86

Preview Lab

Preview with #704CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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