#704CE0#704CE0

#704CE0 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.1% C 0.213 H 288.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#704CE0
RGBrgb(112, 76, 224)
HSLhsl(255, 70%, 59%)
HSVhsv(255, 66%, 88%)
CMYKcmyk(50%, 66.1%, 0%, 12.2%)
CIE-LABlab(44.22, 50.71, -70.42)
CIE-LCHlch(44.22, 86.77, 305.76°)
OKLaboklab(54.11% 0.067 -0.202)
OKLCHoklch(54.11% 0.213 288.3)
XYZxyz(22.7172, 13.9944, 72.0108)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CE0 #BCE04C
analogous
#4C72E0 #704CE0 #BA4CE0
triadic
#704CE0 #E0704C #4CE070
tetradic
#704CE0 #E04C72 #BCE04C #4CE0BA
square
#704CE0 #E04C72 #BCE04C #4CE0BA
split-complementary
#704CE0 #E0BA4C #72E04C
monochromatic
#391A97 #4C23CC #704CE0 #9A80E9 #C3B4F2

Accessibility & contrast

On white

5.53
#704CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#704CE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CE0
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CE0#FFFFFF#000000##FFFFFF
##704CE01.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE5
Deuteranopia (green-blind)
#0065DD
Tritanopia (blue-blind)
#487190
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #704ce0;
/* rgb */ color: rgb(112, 76, 224);
/* oklch */ color: oklch(54.1% 0.213 288.3);
Tailwind
colors: {
  custom: {
    50: '#a280eb',
    500: '#704ce0',
    950: '#000000',
  },
}
SCSS
$custom: #704ce0;
$custom-light: #a280eb;
$custom-dark: #000000;
JSON
{
  "hex": "#704ce0",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 224
  },
  "hsl": {
    "h": 254.595,
    "s": 70.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54108,
    "c": 0.21279,
    "h": 288.3
  },
  "luminance": 0.13995
}

Semantic roles & 50–950 ramp

primary
#704CE0
secondary
#D3E1A7
accent
#ED3BC2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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