#704BD5#704BD5

#704BD5 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.1% C 0.201 H 290.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#704BD5
RGBrgb(112, 75, 213)
HSLhsl(256, 62%, 56%)
HSVhsv(256, 65%, 84%)
CMYKcmyk(47.4%, 64.8%, 0%, 16.5%)
CIE-LABlab(43.18, 48.16, -65.83)
CIE-LCHlch(43.18, 81.56, 306.19°)
OKLaboklab(53.09% 0.0693 -0.1885)
OKLCHoklch(53.09% 0.201 290.2)
XYZxyz(21.2050, 13.2802, 64.3839)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BD5 #B0D54B
analogous
#4B6BD5 #704BD5 #B54BD5
triadic
#704BD5 #D5704B #4BD570
tetradic
#704BD5 #D54B6B #B0D54B #4BD5B5
square
#704BD5 #D54B6B #B0D54B #4BD5B5
split-complementary
#704BD5 #D5B54B #6BD54B
monochromatic
#3B1F86 #512BB8 #704BD5 #977DE1 #BFAEEC

Accessibility & contrast

On white

5.74
#704BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#704BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BD5
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BD5#FFFFFF#000000##FFFFFF
##704BD51.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#0063D2
Tritanopia (blue-blind)
#4F6C89
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #704bd5;
/* rgb */ color: rgb(112, 75, 213);
/* oklch */ color: oklch(53.1% 0.201 290.2);
Tailwind
colors: {
  custom: {
    50: '#a17fe3',
    500: '#704bd5',
    950: '#000000',
  },
}
SCSS
$custom: #704bd5;
$custom-light: #a17fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#704bd5",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 256.087,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53093,
    "c": 0.20084,
    "h": 290.2
  },
  "luminance": 0.13281
}

Semantic roles & 50–950 ramp

primary
#704BD5
secondary
#CBDAA2
accent
#E543BA
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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