#704BC5#704BC5

#704BC5 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.9% C 0.181 H 293.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#704BC5
RGBrgb(112, 75, 197)
HSLhsl(258, 51%, 53%)
HSVhsv(258, 62%, 77%)
CMYKcmyk(43.1%, 61.9%, 0%, 22.7%)
CIE-LABlab(42.01, 43.70, -58.50)
CIE-LCHlch(42.01, 73.02, 306.76°)
OKLaboklab(51.88% 0.0707 -0.1669)
OKLCHoklch(51.88% 0.181 293)
XYZxyz(19.2735, 12.5076, 54.2112)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BC5 #A0C54B
analogous
#4B63C5 #704BC5 #AD4BC5
triadic
#704BC5 #C5704B #4BC570
tetradic
#704BC5 #C54B63 #A0C54B #4BC5AD
square
#704BC5 #C54B63 #A0C54B #4BC5AD
split-complementary
#704BC5 #C5AD4B #63C54B
monochromatic
#3C2471 #54339F #704BC5 #9579D4 #BAA8E3

Accessibility & contrast

On white

6.00
#704BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#704BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BC5
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BC5#FFFFFF#000000##FFFFFF
##704BC51.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#0061C2
Tritanopia (blue-blind)
#586781
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #704bc5;
/* rgb */ color: rgb(112, 75, 197);
/* oklch */ color: oklch(51.9% 0.181 293.0);
Tailwind
colors: {
  custom: {
    50: '#9f7fd7',
    500: '#704bc5',
    950: '#000000',
  },
}
SCSS
$custom: #704bc5;
$custom-light: #9f7fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#704bc5",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 197
  },
  "hsl": {
    "h": 258.197,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51876,
    "c": 0.18131,
    "h": 293
  },
  "luminance": 0.12508
}

Semantic roles & 50–950 ramp

primary
#704BC5
secondary
#C0D09C
accent
#DB4DB0
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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