#704DC1#704DC1

#704DC1 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.9% C 0.174 H 293.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#704DC1
RGBrgb(112, 77, 193)
HSLhsl(258, 48%, 53%)
HSVhsv(258, 60%, 76%)
CMYKcmyk(42%, 60.1%, 0%, 24.3%)
CIE-LABlab(42.16, 41.46, -55.93)
CIE-LCHlch(42.16, 69.63, 306.55°)
OKLaboklab(51.89% 0.0687 -0.1594)
OKLCHoklch(51.89% 0.174 293.3)
XYZxyz(18.9590, 12.6022, 51.8753)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DC1 #9EC14D
analogous
#4D64C1 #704DC1 #AA4DC1
triadic
#704DC1 #C1704D #4DC170
tetradic
#704DC1 #C14D64 #9EC14D #4DC1AA
square
#704DC1 #C14D64 #9EC14D #4DC1AA
split-complementary
#704DC1 #C1AA4D #64C14D
monochromatic
#3C266D #54369B #704DC1 #947AD1 #B9A8E1

Accessibility & contrast

On white

5.96
#704DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#704DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DC1
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DC1#FFFFFF#000000##FFFFFF
##704DC11.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C5
Deuteranopia (green-blind)
#0661BF
Tritanopia (blue-blind)
#5A6780
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #704dc1;
/* rgb */ color: rgb(112, 77, 193);
/* oklch */ color: oklch(51.9% 0.174 293.3);
Tailwind
colors: {
  custom: {
    50: '#9e80d4',
    500: '#704dc1',
    950: '#000000',
  },
}
SCSS
$custom: #704dc1;
$custom-light: #9e80d4;
$custom-dark: #000000;
JSON
{
  "hex": "#704dc1",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 193
  },
  "hsl": {
    "h": 258.103,
    "s": 48.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51894,
    "c": 0.17358,
    "h": 293.3
  },
  "luminance": 0.12603
}

Semantic roles & 50–950 ramp

primary
#704DC1
secondary
#BFCE9C
accent
#D850AF
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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