#704FD2#704FD2

#704FD2 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.5% C 0.192 H 289.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#704FD2
RGBrgb(112, 79, 210)
HSLhsl(255, 59%, 57%)
HSVhsv(255, 62%, 82%)
CMYKcmyk(46.7%, 62.4%, 0%, 17.6%)
CIE-LABlab(43.78, 45.10, -63.13)
CIE-LCHlch(43.78, 77.59, 305.54°)
OKLaboklab(53.46% 0.0655 -0.1806)
OKLCHoklch(53.46% 0.192 289.9)
XYZxyz(21.1076, 13.6890, 62.4904)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FD2 #B1D24F
analogous
#4F70D2 #704FD2 #B24FD2
triadic
#704FD2 #D2704F #4FD270
tetradic
#704FD2 #D24F70 #B1D24F #4FD2B2
square
#704FD2 #D24F70 #B1D24F #4FD2B2
split-complementary
#704FD2 #D2B24F #70D24F
monochromatic
#3B2285 #502EB5 #704FD2 #9880DE #BFB0EB

Accessibility & contrast

On white

5.62
#704FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#704FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FD2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FD2#FFFFFF#000000##FFFFFF
##704FD21.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#516E89
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #704fd2;
/* rgb */ color: rgb(112, 79, 210);
/* oklch */ color: oklch(53.5% 0.192 289.9);
Tailwind
colors: {
  custom: {
    50: '#a082e1',
    500: '#704fd2',
    950: '#000000',
  },
}
SCSS
$custom: #704fd2;
$custom-light: #a082e1;
$custom-dark: #000000;
JSON
{
  "hex": "#704fd2",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 255.115,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53459,
    "c": 0.19207,
    "h": 289.9
  },
  "luminance": 0.1369
}

Semantic roles & 50–950 ramp

primary
#704FD2
secondary
#CCD9A4
accent
#E245BB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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