#704ACC#704ACC

#704ACC is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.3% C 0.191 H 291.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#704ACC
RGBrgb(112, 74, 204)
HSLhsl(258, 56%, 55%)
HSVhsv(258, 64%, 80%)
CMYKcmyk(45.1%, 63.7%, 0%, 20%)
CIE-LABlab(42.31, 46.19, -62.07)
CIE-LCHlch(42.31, 77.37, 306.66°)
OKLaboklab(52.25% 0.0713 -0.1774)
OKLCHoklch(52.25% 0.191 291.9)
XYZxyz(20.0269, 12.7013, 58.5114)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704ACC #A6CC4A
analogous
#4A65CC #704ACC #B14ACC
triadic
#704ACC #CC704A #4ACC70
tetradic
#704ACC #CC4A65 #A6CC4A #4ACCB1
square
#704ACC #CC4A65 #A6CC4A #4ACCB1
split-complementary
#704ACC #CCB14A #65CC4A
monochromatic
#3C2279 #5330A9 #704ACC #967AD9 #BBA9E7

Accessibility & contrast

On white

5.93
#704ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #704ACC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704ACC#FFFFFF#000000##FFFFFF
##704ACC1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#556984
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #704acc;
/* rgb */ color: rgb(112, 74, 204);
/* oklch */ color: oklch(52.3% 0.191 291.9);
Tailwind
colors: {
  custom: {
    50: '#a07fdc',
    500: '#704acc',
    950: '#000000',
  },
}
SCSS
$custom: #704acc;
$custom-light: #a07fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#704acc",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 257.538,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52251,
    "c": 0.19123,
    "h": 291.9
  },
  "luminance": 0.12702
}

Semantic roles & 50–950 ramp

primary
#704ACC
secondary
#C4D49D
accent
#DF48B3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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