#704DCE#704DCE

#704DCE is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.9% C 0.190 H 291.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#704DCE
RGBrgb(112, 77, 206)
HSLhsl(256, 57%, 55%)
HSVhsv(256, 63%, 81%)
CMYKcmyk(45.6%, 62.6%, 0%, 19.2%)
CIE-LABlab(43.08, 45.09, -61.98)
CIE-LCHlch(43.08, 76.65, 306.04°)
OKLaboklab(52.85% 0.0679 -0.1772)
OKLCHoklch(52.85% 0.19 291)
XYZxyz(20.4734, 13.2080, 59.8512)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DCE #ABCE4D
analogous
#4D6ACE #704DCE #B04DCE
triadic
#704DCE #CE704D #4DCE70
tetradic
#704DCE #CE4D6A #ABCE4D #4DCEB0
square
#704DCE #CE4D6A #ABCE4D #4DCEB0
split-complementary
#704DCE #CEB04D #6ACE4D
monochromatic
#3B237E #5230AE #704DCE #977DDB #BDADE8

Accessibility & contrast

On white

5.77
#704DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#704DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DCE
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DCE#FFFFFF#000000##FFFFFF
##704DCE1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#536B86
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #704dce;
/* rgb */ color: rgb(112, 77, 206);
/* oklch */ color: oklch(52.9% 0.190 291.0);
Tailwind
colors: {
  custom: {
    50: '#a080de',
    500: '#704dce',
    950: '#000000',
  },
}
SCSS
$custom: #704dce;
$custom-light: #a080de;
$custom-dark: #000000;
JSON
{
  "hex": "#704dce",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 206
  },
  "hsl": {
    "h": 256.279,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52852,
    "c": 0.18975,
    "h": 291
  },
  "luminance": 0.13209
}

Semantic roles & 50–950 ramp

primary
#704DCE
secondary
#C8D6A1
accent
#E048B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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