#704BD8#704BD8

#704BD8 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.3% C 0.204 H 289.7°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#704BD8
RGBrgb(112, 75, 216)
HSLhsl(256, 64%, 57%)
HSVhsv(256, 65%, 85%)
CMYKcmyk(48.1%, 65.3%, 0%, 15.3%)
CIE-LABlab(43.41, 49.00, -67.18)
CIE-LCHlch(43.41, 83.15, 306.10°)
OKLaboklab(53.33% 0.0689 -0.1925)
OKLCHoklch(53.33% 0.204 289.7)
XYZxyz(21.5893, 13.4339, 66.4079)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BD8 #B3D84B
analogous
#4B6CD8 #704BD8 #B74BD8
triadic
#704BD8 #D8704B #4BD870
tetradic
#704BD8 #D84B6C #B3D84B #4BD8B7
square
#704BD8 #D84B6C #B3D84B #4BD8B7
split-complementary
#704BD8 #D8B74B #6CD84B
monochromatic
#3B1E8B #5029BD #704BD8 #987DE3 #C0B0EE

Accessibility & contrast

On white

5.70
#704BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#704BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BD8
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BD8#FFFFFF#000000##FFFFFF
##704BD81.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#0063D5
Tritanopia (blue-blind)
#4E6D8B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #704bd8;
/* rgb */ color: rgb(112, 75, 216);
/* oklch */ color: oklch(53.3% 0.204 289.7);
Tailwind
colors: {
  custom: {
    50: '#a17fe5',
    500: '#704bd8',
    950: '#000000',
  },
}
SCSS
$custom: #704bd8;
$custom-light: #a17fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#704bd8",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 216
  },
  "hsl": {
    "h": 255.745,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53328,
    "c": 0.20444,
    "h": 289.7
  },
  "luminance": 0.13435
}

Semantic roles & 50–950 ramp

primary
#704BD8
secondary
#CDDCA3
accent
#E740BC
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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