#704BD2#704BD2

#704BD2 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.9% C 0.197 H 290.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#704BD2
RGBrgb(112, 75, 210)
HSLhsl(256, 60%, 56%)
HSVhsv(256, 64%, 82%)
CMYKcmyk(46.7%, 64.3%, 0%, 17.6%)
CIE-LABlab(42.96, 47.32, -64.47)
CIE-LCHlch(42.96, 79.97, 306.27°)
OKLaboklab(52.86% 0.0696 -0.1845)
OKLCHoklch(52.86% 0.197 290.7)
XYZxyz(20.8277, 13.1293, 62.3971)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BD2 #ADD24B
analogous
#4B69D2 #704BD2 #B34BD2
triadic
#704BD2 #D2704B #4BD270
tetradic
#704BD2 #D24B69 #ADD24B #4BD2B3
square
#704BD2 #D24B69 #ADD24B #4BD2B3
split-complementary
#704BD2 #D2B34B #69D24B
monochromatic
#3B2182 #522DB3 #704BD2 #977CDE #BEADEA

Accessibility & contrast

On white

5.79
#704BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#704BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BD2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BD2#FFFFFF#000000##FFFFFF
##704BD21.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#516B88
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #704bd2;
/* rgb */ color: rgb(112, 75, 210);
/* oklch */ color: oklch(52.9% 0.197 290.7);
Tailwind
colors: {
  custom: {
    50: '#a17fe1',
    500: '#704bd2',
    950: '#000000',
  },
}
SCSS
$custom: #704bd2;
$custom-light: #a17fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#704bd2",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 256.444,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5286,
    "c": 0.19722,
    "h": 290.7
  },
  "luminance": 0.1313
}

Semantic roles & 50–950 ramp

primary
#704BD2
secondary
#C9D8A0
accent
#E345B8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #704BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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