#704ACA#704ACA

#704ACA is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.1% C 0.189 H 292.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#704ACA
RGBrgb(112, 74, 202)
HSLhsl(258, 55%, 54%)
HSVhsv(258, 63%, 79%)
CMYKcmyk(44.6%, 63.4%, 0%, 20.8%)
CIE-LABlab(42.16, 45.64, -61.15)
CIE-LCHlch(42.16, 76.30, 306.74°)
OKLaboklab(52.1% 0.0715 -0.1747)
OKLCHoklch(52.1% 0.189 292.2)
XYZxyz(19.7886, 12.6059, 57.2562)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704ACA #A4CA4A
analogous
#4A64CA #704ACA #B04ACA
triadic
#704ACA #CA704A #4ACA70
tetradic
#704ACA #CA4A64 #A4CA4A #4ACAB0
square
#704ACA #CA4A64 #A4CA4A #4ACAB0
split-complementary
#704ACA #CAB04A #64CA4A
monochromatic
#3C2377 #5431A6 #704ACA #9579D8 #BBA9E6

Accessibility & contrast

On white

5.96
#704ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#704ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704ACA
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704ACA#FFFFFF#000000##FFFFFF
##704ACA1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#566883
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #704aca;
/* rgb */ color: rgb(112, 74, 202);
/* oklch */ color: oklch(52.1% 0.189 292.2);
Tailwind
colors: {
  custom: {
    50: '#a07edb',
    500: '#704aca',
    950: '#000000',
  },
}
SCSS
$custom: #704aca;
$custom-light: #a07edb;
$custom-dark: #000000;
JSON
{
  "hex": "#704aca",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 257.813,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52099,
    "c": 0.18878,
    "h": 292.2
  },
  "luminance": 0.12607
}

Semantic roles & 50–950 ramp

primary
#704ACA
secondary
#C3D39D
accent
#DE4AB2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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