#704AC8#704AC8

#704AC8 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.9% C 0.186 H 292.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#704AC8
RGBrgb(112, 74, 200)
HSLhsl(258, 53%, 54%)
HSVhsv(258, 63%, 78%)
CMYKcmyk(44%, 63%, 0%, 21.6%)
CIE-LABlab(42.02, 45.09, -60.23)
CIE-LCHlch(42.02, 75.23, 306.82°)
OKLaboklab(51.95% 0.0716 -0.172)
OKLCHoklch(51.95% 0.186 292.6)
XYZxyz(19.5533, 12.5118, 56.0172)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704AC8 #A2C84A
analogous
#4A63C8 #704AC8 #AF4AC8
triadic
#704AC8 #C8704A #4AC870
tetradic
#704AC8 #C84A63 #A2C84A #4AC8AF
square
#704AC8 #C84A63 #A2C84A #4AC8AF
split-complementary
#704AC8 #C8AF4A #63C84A
monochromatic
#3C2374 #5432A3 #704AC8 #9579D6 #BAA8E5

Accessibility & contrast

On white

6.00
#704AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#704AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704AC8
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704AC8#FFFFFF#000000##FFFFFF
##704AC81.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#576782
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #704ac8;
/* rgb */ color: rgb(112, 74, 200);
/* oklch */ color: oklch(51.9% 0.186 292.6);
Tailwind
colors: {
  custom: {
    50: '#9f7eda',
    500: '#704ac8',
    950: '#000000',
  },
}
SCSS
$custom: #704ac8;
$custom-light: #9f7eda;
$custom-dark: #000000;
JSON
{
  "hex": "#704ac8",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 258.095,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51948,
    "c": 0.18635,
    "h": 292.6
  },
  "luminance": 0.12512
}

Semantic roles & 50–950 ramp

primary
#704AC8
secondary
#C2D29C
accent
#DD4BB1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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