#704ABC#704ABC

#704ABC is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.1% C 0.172 H 295.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#704ABC
RGBrgb(112, 74, 188)
HSLhsl(260, 46%, 51%)
HSVhsv(260, 61%, 74%)
CMYKcmyk(40.4%, 60.6%, 0%, 26.3%)
CIE-LABlab(41.17, 41.79, -54.61)
CIE-LCHlch(41.17, 68.76, 307.42°)
OKLaboklab(51.07% 0.0724 -0.1555)
OKLCHoklch(51.07% 0.172 295)
XYZxyz(18.2056, 11.9727, 48.9190)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704ABC #96BC4A
analogous
#4A5DBC #704ABC #A94ABC
triadic
#704ABC #BC704A #4ABC70
tetradic
#704ABC #BC4A5D #96BC4A #4ABCA9
square
#704ABC #BC4A5D #96BC4A #4ABCA9
split-complementary
#704ABC #BCA94A #5DBC4A
monochromatic
#3B2666 #553693 #704ABC #9377CD #B7A3DD

Accessibility & contrast

On white

6.19
#704ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #704ABC
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704ABC#FFFFFF#000000##FFFFFF
##704ABC1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#0C5FBA
Tritanopia (blue-blind)
#5D637C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #704abc;
/* rgb */ color: rgb(112, 74, 188);
/* oklch */ color: oklch(51.1% 0.172 295.0);
Tailwind
colors: {
  custom: {
    50: '#9e7ed1',
    500: '#704abc',
    950: '#000000',
  },
}
SCSS
$custom: #704abc;
$custom-light: #9e7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#704abc",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 260,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51065,
    "c": 0.17153,
    "h": 295
  },
  "luminance": 0.11973
}

Semantic roles & 50–950 ramp

primary
#704ABC
secondary
#B9CA98
accent
#D652AA
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #704ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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