#704CC6#704CC6

#704CC6 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.1% C 0.181 H 292.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#704CC6
RGBrgb(112, 76, 198)
HSLhsl(258, 52%, 54%)
HSVhsv(258, 62%, 78%)
CMYKcmyk(43.4%, 61.6%, 0%, 22.4%)
CIE-LABlab(42.29, 43.42, -58.62)
CIE-LCHlch(42.29, 72.95, 306.52°)
OKLaboklab(52.1% 0.0696 -0.1673)
OKLCHoklch(52.1% 0.181 292.6)
XYZxyz(19.4568, 12.6903, 54.8395)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CC6 #A2C64C
analogous
#4C65C6 #704CC6 #AD4CC6
triadic
#704CC6 #C6704C #4CC670
tetradic
#704CC6 #C64C65 #A2C64C #4CC6AD
square
#704CC6 #C64C65 #A2C64C #4CC6AD
split-complementary
#704CC6 #C6AD4C #65C64C
monochromatic
#3C2573 #5433A1 #704CC6 #957AD5 #BAA9E4

Accessibility & contrast

On white

5.94
#704CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#704CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CC6
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CC6#FFFFFF#000000##FFFFFF
##704CC61.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CA
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#586882
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #704cc6;
/* rgb */ color: rgb(112, 76, 198);
/* oklch */ color: oklch(52.1% 0.181 292.6);
Tailwind
colors: {
  custom: {
    50: '#9f80d8',
    500: '#704cc6',
    950: '#000000',
  },
}
SCSS
$custom: #704cc6;
$custom-light: #9f80d8;
$custom-dark: #000000;
JSON
{
  "hex": "#704cc6",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 198
  },
  "hsl": {
    "h": 257.705,
    "s": 51.695,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52103,
    "c": 0.1812,
    "h": 292.6
  },
  "luminance": 0.12691
}

Semantic roles & 50–950 ramp

primary
#704CC6
secondary
#C2D19D
accent
#DB4DB1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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