#704BD3#704BD3

#704BD3 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.9% C 0.198 H 290.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#704BD3
RGBrgb(112, 75, 211)
HSLhsl(256, 61%, 56%)
HSVhsv(256, 64%, 83%)
CMYKcmyk(46.9%, 64.5%, 0%, 17.3%)
CIE-LABlab(43.03, 47.60, -64.93)
CIE-LCHlch(43.03, 80.50, 306.24°)
OKLaboklab(52.94% 0.0695 -0.1858)
OKLCHoklch(52.94% 0.198 290.5)
XYZxyz(20.9527, 13.1793, 63.0552)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BD3 #AED34B
analogous
#4B6AD3 #704BD3 #B44BD3
triadic
#704BD3 #D3704B #4BD370
tetradic
#704BD3 #D34B6A #AED34B #4BD3B4
square
#704BD3 #D34B6A #AED34B #4BD3B4
split-complementary
#704BD3 #D3B44B #6AD34B
monochromatic
#3B2083 #512CB5 #704BD3 #977CDF #BEADEB

Accessibility & contrast

On white

5.78
#704BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#704BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BD3
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BD3#FFFFFF#000000##FFFFFF
##704BD31.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#0063D0
Tritanopia (blue-blind)
#516C88
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #704bd3;
/* rgb */ color: rgb(112, 75, 211);
/* oklch */ color: oklch(52.9% 0.198 290.5);
Tailwind
colors: {
  custom: {
    50: '#a17fe1',
    500: '#704bd3',
    950: '#000000',
  },
}
SCSS
$custom: #704bd3;
$custom-light: #a17fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#704bd3",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 211
  },
  "hsl": {
    "h": 256.324,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52937,
    "c": 0.19843,
    "h": 290.5
  },
  "luminance": 0.1318
}

Semantic roles & 50–950 ramp

primary
#704BD3
secondary
#CAD9A1
accent
#E444B8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #704BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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