#704DC0#704DC0

#704DC0 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.8% C 0.172 H 293.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#704DC0
RGBrgb(112, 77, 192)
HSLhsl(258, 48%, 53%)
HSVhsv(258, 60%, 75%)
CMYKcmyk(41.7%, 59.9%, 0%, 24.7%)
CIE-LABlab(42.09, 41.19, -55.46)
CIE-LCHlch(42.09, 69.08, 306.60°)
OKLaboklab(51.82% 0.0687 -0.158)
OKLCHoklch(51.82% 0.172 293.5)
XYZxyz(18.8478, 12.5578, 51.2898)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DC0 #9DC04D
analogous
#4D63C0 #704DC0 #AA4DC0
triadic
#704DC0 #C0704D #4DC070
tetradic
#704DC0 #C04D63 #9DC04D #4DC0AA
square
#704DC0 #C04D63 #9DC04D #4DC0AA
split-complementary
#704DC0 #C0AA4D #63C04D
monochromatic
#3C266C #543699 #704DC0 #947AD0 #B9A7E0

Accessibility & contrast

On white

5.98
#704DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#704DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DC0
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DC0#FFFFFF#000000##FFFFFF
##704DC01.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#0B61BE
Tritanopia (blue-blind)
#5B667F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #704dc0;
/* rgb */ color: rgb(112, 77, 192);
/* oklch */ color: oklch(51.8% 0.172 293.5);
Tailwind
colors: {
  custom: {
    50: '#9e80d4',
    500: '#704dc0',
    950: '#000000',
  },
}
SCSS
$custom: #704dc0;
$custom-light: #9e80d4;
$custom-dark: #000000;
JSON
{
  "hex": "#704dc0",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 192
  },
  "hsl": {
    "h": 258.261,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51822,
    "c": 0.17232,
    "h": 293.5
  },
  "luminance": 0.12558
}

Semantic roles & 50–950 ramp

primary
#704DC0
secondary
#BECD9B
accent
#D750AE
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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