#704BC0#704BC0

#704BC0 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.5% C 0.175 H 293.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#704BC0
RGBrgb(112, 75, 192)
HSLhsl(259, 48%, 52%)
HSVhsv(259, 61%, 75%)
CMYKcmyk(41.7%, 60.9%, 0%, 24.7%)
CIE-LABlab(41.66, 42.32, -56.15)
CIE-LCHlch(41.66, 70.31, 307.00°)
OKLaboklab(51.51% 0.0711 -0.16)
OKLCHoklch(51.51% 0.175 293.9)
XYZxyz(18.7100, 12.2822, 51.2439)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BC0 #9BC04B
analogous
#4B61C0 #704BC0 #AA4BC0
triadic
#704BC0 #C0704B #4BC070
tetradic
#704BC0 #C04B61 #9BC04B #4BC0AA
square
#704BC0 #C04B61 #9BC04B #4BC0AA
split-complementary
#704BC0 #C0AA4B #61C04B
monochromatic
#3C256B #553598 #704BC0 #9478D0 #B8A6E0

Accessibility & contrast

On white

6.08
#704BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#704BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BC0
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BC0#FFFFFF#000000##FFFFFF
##704BC01.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#0060BD
Tritanopia (blue-blind)
#5B657E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #704bc0;
/* rgb */ color: rgb(112, 75, 192);
/* oklch */ color: oklch(51.5% 0.175 293.9);
Tailwind
colors: {
  custom: {
    50: '#9e7fd4',
    500: '#704bc0',
    950: '#000000',
  },
}
SCSS
$custom: #704bc0;
$custom-light: #9e7fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#704bc0",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 192
  },
  "hsl": {
    "h": 258.974,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51509,
    "c": 0.17511,
    "h": 293.9
  },
  "luminance": 0.12283
}

Semantic roles & 50–950 ramp

primary
#704BC0
secondary
#BDCD9A
accent
#D850AD
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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