#704FD1#704FD1

#704FD1 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.4% C 0.191 H 290.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#704FD1
RGBrgb(112, 79, 209)
HSLhsl(255, 59%, 56%)
HSVhsv(255, 62%, 82%)
CMYKcmyk(46.4%, 62.2%, 0%, 18%)
CIE-LABlab(43.71, 44.82, -62.67)
CIE-LCHlch(43.71, 77.05, 305.57°)
OKLaboklab(53.38% 0.0655 -0.1792)
OKLCHoklch(53.38% 0.191 290.1)
XYZxyz(20.9834, 13.6394, 61.8363)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FD1 #B0D14F
analogous
#4F6FD1 #704FD1 #B14FD1
triadic
#704FD1 #D1704F #4FD170
tetradic
#704FD1 #D14F6F #B0D14F #4FD1B1
square
#704FD1 #D14F6F #B0D14F #4FD1B1
split-complementary
#704FD1 #D1B14F #6FD14F
monochromatic
#3B2283 #512FB4 #704FD1 #9780DE #BFB0EA

Accessibility & contrast

On white

5.63
#704FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#704FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FD1
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FD1#FFFFFF#000000##FFFFFF
##704FD11.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#0064CE
Tritanopia (blue-blind)
#526D89
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #704fd1;
/* rgb */ color: rgb(112, 79, 209);
/* oklch */ color: oklch(53.4% 0.191 290.1);
Tailwind
colors: {
  custom: {
    50: '#a082e0',
    500: '#704fd1',
    950: '#000000',
  },
}
SCSS
$custom: #704fd1;
$custom-light: #a082e0;
$custom-dark: #000000;
JSON
{
  "hex": "#704fd1",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 209
  },
  "hsl": {
    "h": 255.231,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53383,
    "c": 0.19084,
    "h": 290.1
  },
  "luminance": 0.1364
}

Semantic roles & 50–950 ramp

primary
#704FD1
secondary
#CBD9A3
accent
#E246BA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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