#704CDF#704CDF

#704CDF is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.0% C 0.212 H 288.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#704CDF
RGBrgb(112, 76, 223)
HSLhsl(255, 70%, 59%)
HSVhsv(255, 66%, 87%)
CMYKcmyk(49.8%, 65.9%, 0%, 12.5%)
CIE-LABlab(44.15, 50.42, -69.97)
CIE-LCHlch(44.15, 86.25, 305.78°)
OKLaboklab(54.03% 0.0671 -0.2007)
OKLCHoklch(54.03% 0.212 288.5)
XYZxyz(22.5819, 13.9403, 71.2986)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CDF #BBDF4C
analogous
#4C71DF #704CDF #B94CDF
triadic
#704CDF #DF704C #4CDF70
tetradic
#704CDF #DF4C71 #BBDF4C #4CDFB9
square
#704CDF #DF4C71 #BBDF4C #4CDFB9
split-complementary
#704CDF #DFB94C #71DF4C
monochromatic
#391B96 #4D24CA #704CDF #9980E8 #C3B4F2

Accessibility & contrast

On white

5.54
#704CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#704CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CDF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CDF#FFFFFF#000000##FFFFFF
##704CDF1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE4
Deuteranopia (green-blind)
#0065DC
Tritanopia (blue-blind)
#49708F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #704cdf;
/* rgb */ color: rgb(112, 76, 223);
/* oklch */ color: oklch(54.0% 0.212 288.5);
Tailwind
colors: {
  custom: {
    50: '#a280ea',
    500: '#704cdf',
    950: '#000000',
  },
}
SCSS
$custom: #704cdf;
$custom-light: #a280ea;
$custom-dark: #000000;
JSON
{
  "hex": "#704cdf",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 254.694,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54028,
    "c": 0.2116,
    "h": 288.5
  },
  "luminance": 0.13941
}

Semantic roles & 50–950 ramp

primary
#704CDF
secondary
#D2E0A6
accent
#EC3BC1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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