#704BC1#704BC1

#704BC1 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.6% C 0.176 H 293.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#704BC1
RGBrgb(112, 75, 193)
HSLhsl(259, 49%, 53%)
HSVhsv(259, 61%, 76%)
CMYKcmyk(42%, 61.1%, 0%, 24.3%)
CIE-LABlab(41.73, 42.59, -56.62)
CIE-LCHlch(41.73, 70.86, 306.95°)
OKLaboklab(51.58% 0.071 -0.1614)
OKLCHoklch(51.58% 0.176 293.7)
XYZxyz(18.8212, 12.3267, 51.8294)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BC1 #9CC14B
analogous
#4B61C1 #704BC1 #AB4BC1
triadic
#704BC1 #C1704B #4BC170
tetradic
#704BC1 #C14B61 #9CC14B #4BC1AB
square
#704BC1 #C14B61 #9CC14B #4BC1AB
split-complementary
#704BC1 #C1AB4B #61C14B
monochromatic
#3C256C #55359A #704BC1 #9479D1 #B8A6E0

Accessibility & contrast

On white

6.06
#704BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#704BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BC1
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BC1#FFFFFF#000000##FFFFFF
##704BC11.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#0060BE
Tritanopia (blue-blind)
#5A667F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #704bc1;
/* rgb */ color: rgb(112, 75, 193);
/* oklch */ color: oklch(51.6% 0.176 293.7);
Tailwind
colors: {
  custom: {
    50: '#9f7fd4',
    500: '#704bc1',
    950: '#000000',
  },
}
SCSS
$custom: #704bc1;
$custom-light: #9f7fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#704bc1",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 193
  },
  "hsl": {
    "h": 258.814,
    "s": 48.76,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51582,
    "c": 0.17636,
    "h": 293.7
  },
  "luminance": 0.12327
}

Semantic roles & 50–950 ramp

primary
#704BC1
secondary
#BDCE9A
accent
#D84FAD
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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