#704BC4#704BC4

#704BC4 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.8% C 0.180 H 293.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#704BC4
RGBrgb(112, 75, 196)
HSLhsl(258, 51%, 53%)
HSVhsv(258, 62%, 77%)
CMYKcmyk(42.9%, 61.7%, 0%, 23.1%)
CIE-LABlab(41.94, 43.42, -58.03)
CIE-LCHlch(41.94, 72.48, 306.81°)
OKLaboklab(51.8% 0.0708 -0.1656)
OKLCHoklch(51.8% 0.18 293.2)
XYZxyz(19.1593, 12.4619, 53.6098)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BC4 #9FC44B
analogous
#4B62C4 #704BC4 #AC4BC4
triadic
#704BC4 #C4704B #4BC470
tetradic
#704BC4 #C44B62 #9FC44B #4BC4AC
square
#704BC4 #C44B62 #9FC44B #4BC4AC
split-complementary
#704BC4 #C4AC4B #62C44B
monochromatic
#3C2570 #54349E #704BC4 #9579D3 #B9A7E2

Accessibility & contrast

On white

6.01
#704BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#704BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BC4
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BC4#FFFFFF#000000##FFFFFF
##704BC41.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C8
Deuteranopia (green-blind)
#0061C1
Tritanopia (blue-blind)
#596780
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #704bc4;
/* rgb */ color: rgb(112, 75, 196);
/* oklch */ color: oklch(51.8% 0.180 293.2);
Tailwind
colors: {
  custom: {
    50: '#9f7fd7',
    500: '#704bc4',
    950: '#000000',
  },
}
SCSS
$custom: #704bc4;
$custom-light: #9f7fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#704bc4",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 196
  },
  "hsl": {
    "h": 258.347,
    "s": 50.628,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51802,
    "c": 0.18008,
    "h": 293.2
  },
  "luminance": 0.12462
}

Semantic roles & 50–950 ramp

primary
#704BC4
secondary
#C0CF9B
accent
#DA4EAF
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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