#704ABA#704ABA

#704ABA is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.9% C 0.169 H 295.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#704ABA
RGBrgb(112, 74, 186)
HSLhsl(260, 45%, 51%)
HSVhsv(260, 60%, 73%)
CMYKcmyk(39.8%, 60.2%, 0%, 27.1%)
CIE-LABlab(41.04, 41.24, -53.66)
CIE-LCHlch(41.04, 67.67, 307.55°)
OKLaboklab(50.92% 0.0725 -0.1527)
OKLCHoklch(50.92% 0.169 295.4)
XYZxyz(17.9915, 11.8871, 47.7914)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704ABA #94BA4A
analogous
#4A5CBA #704ABA #A84ABA
triadic
#704ABA #BA704A #4ABA70
tetradic
#704ABA #BA4A5C #94BA4A #4ABAA8
square
#704ABA #BA4A5C #94BA4A #4ABAA8
split-complementary
#704ABA #BAA84A #5CBA4A
monochromatic
#3B2664 #553790 #704ABA #9376CB #B6A3DC

Accessibility & contrast

On white

6.22
#704ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#704ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704ABA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704ABA#FFFFFF#000000##FFFFFF
##704ABA1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#135FB8
Tritanopia (blue-blind)
#5D637B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #704aba;
/* rgb */ color: rgb(112, 74, 186);
/* oklch */ color: oklch(50.9% 0.169 295.4);
Tailwind
colors: {
  custom: {
    50: '#9e7ecf',
    500: '#704aba',
    950: '#000000',
  },
}
SCSS
$custom: #704aba;
$custom-light: #9e7ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#704aba",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 260.357,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50922,
    "c": 0.16904,
    "h": 295.4
  },
  "luminance": 0.11887
}

Semantic roles & 50–950 ramp

primary
#704ABA
secondary
#B8C997
accent
#D553A9
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #704ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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