#704DDC#704DDC

#704DDC is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 53.9% C 0.207 H 288.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#704DDC
RGBrgb(112, 77, 220)
HSLhsl(255, 67%, 58%)
HSVhsv(255, 65%, 86%)
CMYKcmyk(49.1%, 65%, 0%, 13.7%)
CIE-LABlab(44.12, 49.03, -68.31)
CIE-LCHlch(44.12, 84.09, 305.67°)
OKLaboklab(53.93% 0.0665 -0.1958)
OKLCHoklch(53.93% 0.207 288.8)
XYZxyz(22.2505, 13.9188, 69.2105)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DDC #B9DC4D
analogous
#4D71DC #704DDC #B74DDC
triadic
#704DDC #DC704D #4DDC70
tetradic
#704DDC #DC4D71 #B9DC4D #4DDCB7
square
#704DDC #DC4D71 #B9DC4D #4DDCB7
split-complementary
#704DDC #DCB74D #71DC4D
monochromatic
#391D92 #4D27C5 #704DDC #9980E6 #C2B3F0

Accessibility & contrast

On white

5.55
#704DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#704DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DDC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DDC#FFFFFF#000000##FFFFFF
##704DDC1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #704ddc;
/* rgb */ color: rgb(112, 77, 220);
/* oklch */ color: oklch(53.9% 0.207 288.8);
Tailwind
colors: {
  custom: {
    50: '#a281e8',
    500: '#704ddc',
    950: '#000000',
  },
}
SCSS
$custom: #704ddc;
$custom-light: #a281e8;
$custom-dark: #000000;
JSON
{
  "hex": "#704ddc",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 254.685,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53933,
    "c": 0.2068,
    "h": 288.8
  },
  "luminance": 0.1392
}

Semantic roles & 50–950 ramp

primary
#704DDC
secondary
#D1DFA6
accent
#EA3EC0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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