#704CB5#704CB5

#704CB5 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.9% C 0.160 H 296.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#704CB5
RGBrgb(112, 76, 181)
HSLhsl(261, 42%, 50%)
HSVhsv(261, 58%, 71%)
CMYKcmyk(38.1%, 58%, 0%, 29%)
CIE-LABlab(41.14, 38.74, -50.56)
CIE-LCHlch(41.14, 63.70, 307.46°)
OKLaboklab(50.89% 0.0702 -0.1436)
OKLCHoklch(50.89% 0.16 296)
XYZxyz(17.6049, 11.9495, 45.0861)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CB5 #91B54C
analogous
#4C5DB5 #704CB5 #A44CB5
triadic
#704CB5 #B5704C #4CB570
tetradic
#704CB5 #B54C5D #91B54C #4CB5A4
square
#704CB5 #B54C5D #91B54C #4CB5A4
split-complementary
#704CB5 #B5A44C #5DB54C
monochromatic
#3B275F #55398B #704CB5 #9377C7 #B5A3D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##704CB5#FFFFFF#000000##FFFFFF
##704CB51.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)
#1262B8
Deuteranopia (green-blind)
#2260B3
Tritanopia (blue-blind)
#5F6279
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #704cb5;
/* rgb */ color: rgb(112, 76, 181);
/* oklch */ color: oklch(50.9% 0.160 296.0);
Tailwind
colors: {
  custom: {
    50: '#9d7fcc',
    500: '#704cb5',
    950: '#000000',
  },
}
SCSS
$custom: #704cb5;
$custom-light: #9d7fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#704cb5",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 181
  },
  "hsl": {
    "h": 260.571,
    "s": 41.502,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50888,
    "c": 0.15984,
    "h": 296
  },
  "luminance": 0.1195
}

Semantic roles & 50–950 ramp

primary
#704CB5
secondary
#B6C697
accent
#D156A7
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #704CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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