#704FC2#704FC2

#704FC2 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.3% C 0.172 H 292.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#704FC2
RGBrgb(112, 79, 194)
HSLhsl(257, 49%, 54%)
HSVhsv(257, 59%, 76%)
CMYKcmyk(42.3%, 59.3%, 0%, 23.9%)
CIE-LABlab(42.66, 40.60, -55.71)
CIE-LCHlch(42.66, 68.93, 306.09°)
OKLaboklab(52.28% 0.0663 -0.1587)
OKLCHoklch(52.28% 0.172 292.7)
XYZxyz(19.2130, 12.9312, 52.5122)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FC2 #A1C24F
analogous
#4F67C2 #704FC2 #A94FC2
triadic
#704FC2 #C2704F #4FC270
tetradic
#704FC2 #C24F67 #A1C24F #4FC2A9
square
#704FC2 #C24F67 #A1C24F #4FC2A9
split-complementary
#704FC2 #C2A94F #67C24F
monochromatic
#3C2770 #54379D #704FC2 #957CD2 #BAAAE2

Accessibility & contrast

On white

5.86
#704FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#704FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FC2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FC2#FFFFFF#000000##FFFFFF
##704FC21.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#0C63C0
Tritanopia (blue-blind)
#596881
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #704fc2;
/* rgb */ color: rgb(112, 79, 194);
/* oklch */ color: oklch(52.3% 0.172 292.7);
Tailwind
colors: {
  custom: {
    50: '#9e82d5',
    500: '#704fc2',
    950: '#000000',
  },
}
SCSS
$custom: #704fc2;
$custom-light: #9e82d5;
$custom-dark: #000000;
JSON
{
  "hex": "#704fc2",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 257.217,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52282,
    "c": 0.17204,
    "h": 292.7
  },
  "luminance": 0.12932
}

Semantic roles & 50–950 ramp

primary
#704FC2
secondary
#C1CF9E
accent
#D850B1
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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