#704AC9#704AC9

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

Color values

HEX#704AC9
RGBrgb(112, 74, 201)
HSLhsl(258, 54%, 54%)
HSVhsv(258, 63%, 79%)
CMYKcmyk(44.3%, 63.2%, 0%, 21.2%)
CIE-LABlab(42.09, 45.36, -60.69)
CIE-LCHlch(42.09, 75.77, 306.78°)
OKLaboklab(52.02% 0.0715 -0.1734)
OKLCHoklch(52.02% 0.188 292.4)
XYZxyz(19.6706, 12.5587, 56.6347)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704AC9 #A3C94A
analogous
#4A64C9 #704AC9 #B04AC9
triadic
#704AC9 #C9704A #4AC970
tetradic
#704AC9 #C94A64 #A3C94A #4AC9B0
square
#704AC9 #C94A64 #A3C94A #4AC9B0
split-complementary
#704AC9 #C9B04A #64C94A
monochromatic
#3C2376 #5431A5 #704AC9 #9579D7 #BAA8E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##704AC9#FFFFFF#000000##FFFFFF
##704AC91.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)
#0065CD
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#566883
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #704ac9;
/* rgb */ color: rgb(112, 74, 201);
/* oklch */ color: oklch(52.0% 0.188 292.4);
Tailwind
colors: {
  custom: {
    50: '#a07eda',
    500: '#704ac9',
    950: '#000000',
  },
}
SCSS
$custom: #704ac9;
$custom-light: #a07eda;
$custom-dark: #000000;
JSON
{
  "hex": "#704ac9",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 201
  },
  "hsl": {
    "h": 257.953,
    "s": 54.043,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52024,
    "c": 0.18757,
    "h": 292.4
  },
  "luminance": 0.12559
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #704AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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