#704CD8#704CD8

#704CD8 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.5% C 0.203 H 289.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#704CD8
RGBrgb(112, 76, 216)
HSLhsl(255, 64%, 57%)
HSVhsv(255, 65%, 85%)
CMYKcmyk(48.1%, 64.8%, 0%, 15.3%)
CIE-LABlab(43.61, 48.45, -66.85)
CIE-LCHlch(43.61, 82.56, 305.93°)
OKLaboklab(53.47% 0.068 -0.1915)
OKLCHoklch(53.47% 0.203 289.5)
XYZxyz(21.6577, 13.5706, 66.4307)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CD8 #B4D84C
analogous
#4C6ED8 #704CD8 #B64CD8
triadic
#704CD8 #D8704C #4CD870
tetradic
#704CD8 #D84C6E #B4D84C #4CD8B6
square
#704CD8 #D84C6E #B4D84C #4CD8B6
split-complementary
#704CD8 #D8B64C #6ED84C
monochromatic
#3A1E8B #4F29BE #704CD8 #987EE3 #C0B1EE

Accessibility & contrast

On white

5.65
#704CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#704CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CD8
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CD8#FFFFFF#000000##FFFFFF
##704CD81.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#0064D5
Tritanopia (blue-blind)
#4D6E8B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #704cd8;
/* rgb */ color: rgb(112, 76, 216);
/* oklch */ color: oklch(53.5% 0.203 289.5);
Tailwind
colors: {
  custom: {
    50: '#a180e5',
    500: '#704cd8',
    950: '#000000',
  },
}
SCSS
$custom: #704cd8;
$custom-light: #a180e5;
$custom-dark: #000000;
JSON
{
  "hex": "#704cd8",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 255.429,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53473,
    "c": 0.20321,
    "h": 289.5
  },
  "luminance": 0.13571
}

Semantic roles & 50–950 ramp

primary
#704CD8
secondary
#CEDCA4
accent
#E741BC
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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