#704CDC#704CDC

#704CDC is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 53.8% C 0.208 H 288.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#704CDC
RGBrgb(112, 76, 220)
HSLhsl(255, 67%, 58%)
HSVhsv(255, 65%, 86%)
CMYKcmyk(49.1%, 65.5%, 0%, 13.7%)
CIE-LABlab(43.92, 49.58, -68.64)
CIE-LCHlch(43.92, 84.67, 305.84°)
OKLaboklab(53.79% 0.0675 -0.1968)
OKLCHoklch(53.79% 0.208 288.9)
XYZxyz(22.1811, 13.7800, 69.1873)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CDC #B8DC4C
analogous
#4C70DC #704CDC #B84CDC
triadic
#704CDC #DC704C #4CDC70
tetradic
#704CDC #DC4C70 #B8DC4C #4CDCB8
square
#704CDC #DC4C70 #B8DC4C #4CDCB8
split-complementary
#704CDC #DCB84C #70DC4C
monochromatic
#3A1C91 #4E26C4 #704CDC #997FE6 #C2B2F0

Accessibility & contrast

On white

5.59
#704CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#704CDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CDC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CDC#FFFFFF#000000##FFFFFF
##704CDC1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#4B6F8D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #704cdc;
/* rgb */ color: rgb(112, 76, 220);
/* oklch */ color: oklch(53.8% 0.208 288.9);
Tailwind
colors: {
  custom: {
    50: '#a280e8',
    500: '#704cdc',
    950: '#000000',
  },
}
SCSS
$custom: #704cdc;
$custom-light: #a280e8;
$custom-dark: #000000;
JSON
{
  "hex": "#704cdc",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 220
  },
  "hsl": {
    "h": 255,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53789,
    "c": 0.20802,
    "h": 288.9
  },
  "luminance": 0.13781
}

Semantic roles & 50–950 ramp

primary
#704CDC
secondary
#D0DFA5
accent
#EA3EBF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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