#704CFB#704CFB

#704CFB is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.4% C 0.244 H 284.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#704CFB
RGBrgb(112, 76, 251)
HSLhsl(252, 96%, 64%)
HSVhsv(252, 70%, 98%)
CMYKcmyk(55.4%, 69.7%, 0%, 1.6%)
CIE-LABlab(46.41, 58.33, -82.05)
CIE-LCHlch(46.41, 100.66, 305.41°)
OKLaboklab(56.35% 0.0626 -0.2361)
OKLCHoklch(56.35% 0.244 284.9)
XYZxyz(26.6738, 15.5771, 92.8492)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CFB #D7FB4C
analogous
#4C80FB #704CFB #C84CFB
triadic
#704CFB #FB704C #4CFB70
tetradic
#704CFB #FB4C80 #D7FB4C #4CFBC8
square
#704CFB #FB4C80 #D7FB4C #4CFBC8
split-complementary
#704CFB #FBC84C #80FB4C
monochromatic
#2D04C8 #4010FA #704CFB #A088FC #D0C4FE

Accessibility & contrast

On white

5.10
#704CFB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#704CFB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CFB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CFB#FFFFFF#000000##FFFFFF
##704CFB1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FF
Deuteranopia (green-blind)
#0068F8
Tritanopia (blue-blind)
#2C7B9E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #704cfb;
/* rgb */ color: rgb(112, 76, 251);
/* oklch */ color: oklch(56.4% 0.244 284.9);
Tailwind
colors: {
  custom: {
    50: '#a681fe',
    500: '#704cfb',
    950: '#000000',
  },
}
SCSS
$custom: #704cfb;
$custom-light: #a681fe;
$custom-dark: #000000;
JSON
{
  "hex": "#704cfb",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 251
  },
  "hsl": {
    "h": 252.343,
    "s": 95.628,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56352,
    "c": 0.24427,
    "h": 284.9
  },
  "luminance": 0.15579
}

Semantic roles & 50–950 ramp

primary
#704CFB
secondary
#E3F0B3
accent
#E600B6
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #704CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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