#704BD0#704BD0

#704BD0 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.7% C 0.195 H 291.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#704BD0
RGBrgb(112, 75, 208)
HSLhsl(257, 59%, 55%)
HSVhsv(257, 64%, 82%)
CMYKcmyk(46.2%, 63.9%, 0%, 18.4%)
CIE-LABlab(42.81, 46.76, -63.56)
CIE-LCHlch(42.81, 78.91, 306.34°)
OKLaboklab(52.71% 0.0698 -0.1819)
OKLCHoklch(52.71% 0.195 291)
XYZxyz(20.5801, 13.0302, 61.0930)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BD0 #ABD04B
analogous
#4B68D0 #704BD0 #B34BD0
triadic
#704BD0 #D0704B #4BD070
tetradic
#704BD0 #D04B68 #ABD04B #4BD0B3
square
#704BD0 #D04B68 #ABD04B #4BD0B3
split-complementary
#704BD0 #D0B34B #68D04B
monochromatic
#3B217F #522EB0 #704BD0 #977CDD #BDACE9

Accessibility & contrast

On white

5.82
#704BD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#704BD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BD0
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BD0#FFFFFF#000000##FFFFFF
##704BD01.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D4
Deuteranopia (green-blind)
#0062CD
Tritanopia (blue-blind)
#526B87
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #704bd0;
/* rgb */ color: rgb(112, 75, 208);
/* oklch */ color: oklch(52.7% 0.195 291.0);
Tailwind
colors: {
  custom: {
    50: '#a07fdf',
    500: '#704bd0',
    950: '#000000',
  },
}
SCSS
$custom: #704bd0;
$custom-light: #a07fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#704bd0",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 208
  },
  "hsl": {
    "h": 256.692,
    "s": 58.59,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52705,
    "c": 0.1948,
    "h": 291
  },
  "luminance": 0.13031
}

Semantic roles & 50–950 ramp

primary
#704BD0
secondary
#C8D7A0
accent
#E246B6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #704BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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