#704CD6#704CD6

#704CD6 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.3% C 0.201 H 289.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#704CD6
RGBrgb(112, 76, 214)
HSLhsl(256, 63%, 57%)
HSVhsv(256, 64%, 84%)
CMYKcmyk(47.7%, 64.5%, 0%, 16.1%)
CIE-LABlab(43.46, 47.89, -65.95)
CIE-LCHlch(43.46, 81.50, 305.98°)
OKLaboklab(53.32% 0.0682 -0.1889)
OKLCHoklch(53.32% 0.201 289.8)
XYZxyz(21.4007, 13.4678, 65.0772)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CD6 #B2D64C
analogous
#4C6DD6 #704CD6 #B54CD6
triadic
#704CD6 #D6704C #4CD670
tetradic
#704CD6 #D64C6D #B2D64C #4CD6B5
square
#704CD6 #D64C6D #B2D64C #4CD6B5
split-complementary
#704CD6 #D6B54C #6DD64C
monochromatic
#3B1F88 #502BBA #704CD6 #987EE1 #C0B0ED

Accessibility & contrast

On white

5.69
#704CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #704CD6
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CD6#FFFFFF#000000##FFFFFF
##704CD61.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#0063D3
Tritanopia (blue-blind)
#4F6D8A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #704cd6;
/* rgb */ color: rgb(112, 76, 214);
/* oklch */ color: oklch(53.3% 0.201 289.8);
Tailwind
colors: {
  custom: {
    50: '#a180e4',
    500: '#704cd6',
    950: '#000000',
  },
}
SCSS
$custom: #704cd6;
$custom-light: #a180e4;
$custom-dark: #000000;
JSON
{
  "hex": "#704cd6",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 255.652,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53317,
    "c": 0.2008,
    "h": 289.8
  },
  "luminance": 0.13469
}

Semantic roles & 50–950 ramp

primary
#704CD6
secondary
#CCDBA3
accent
#E642BB
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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