#704ABB#704ABB

#704ABB is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.0% C 0.170 H 295.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#704ABB
RGBrgb(112, 74, 187)
HSLhsl(260, 45%, 51%)
HSVhsv(260, 60%, 73%)
CMYKcmyk(40.1%, 60.4%, 0%, 26.7%)
CIE-LABlab(41.10, 41.51, -54.13)
CIE-LCHlch(41.10, 68.22, 307.48°)
OKLaboklab(50.99% 0.0724 -0.1541)
OKLCHoklch(50.99% 0.17 295.2)
XYZxyz(18.0982, 11.9298, 48.3532)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704ABB #95BB4A
analogous
#4A5CBB #704ABB #A84ABB
triadic
#704ABB #BB704A #4ABB70
tetradic
#704ABB #BB4A5C #95BB4A #4ABBA8
square
#704ABB #BB4A5C #95BB4A #4ABBA8
split-complementary
#704ABB #BBA84A #5CBB4A
monochromatic
#3B2665 #553791 #704ABB #9376CC #B6A3DC

Accessibility & contrast

On white

6.20
#704ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#704ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704ABB
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704ABB#FFFFFF#000000##FFFFFF
##704ABB1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#105FB9
Tritanopia (blue-blind)
#5D637B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #704abb;
/* rgb */ color: rgb(112, 74, 187);
/* oklch */ color: oklch(51.0% 0.170 295.2);
Tailwind
colors: {
  custom: {
    50: '#9e7ed0',
    500: '#704abb',
    950: '#000000',
  },
}
SCSS
$custom: #704abb;
$custom-light: #9e7ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#704abb",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 260.177,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50993,
    "c": 0.17029,
    "h": 295.2
  },
  "luminance": 0.1193
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #704ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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