#704BB4#704BB4

#704BB4 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.7% C 0.160 H 296.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#704BB4
RGBrgb(112, 75, 180)
HSLhsl(261, 41%, 50%)
HSVhsv(261, 58%, 71%)
CMYKcmyk(37.8%, 58.3%, 0%, 29.4%)
CIE-LABlab(40.85, 39.04, -50.43)
CIE-LCHlch(40.85, 63.78, 307.75°)
OKLaboklab(50.66% 0.0714 -0.1432)
OKLCHoklch(50.66% 0.16 296.5)
XYZxyz(17.4343, 11.7719, 44.5248)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BB4 #8FB44B
analogous
#4B5BB4 #704BB4 #A44BB4
triadic
#704BB4 #B4704B #4BB470
tetradic
#704BB4 #B44B5B #8FB44B #4BB4A4
square
#704BB4 #B44B5B #8FB44B #4BB4A4
split-complementary
#704BB4 #B4A44B #5BB44B
monochromatic
#3A275E #553989 #704BB4 #9276C6 #B5A1D8

Accessibility & contrast

On white

6.26
#704BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#704BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BB4
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BB4#FFFFFF#000000##FFFFFF
##704BB41.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1061B7
Deuteranopia (green-blind)
#225FB2
Tritanopia (blue-blind)
#606178
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #704bb4;
/* rgb */ color: rgb(112, 75, 180);
/* oklch */ color: oklch(50.7% 0.160 296.5);
Tailwind
colors: {
  custom: {
    50: '#9d7fcb',
    500: '#704bb4',
    950: '#000000',
  },
}
SCSS
$custom: #704bb4;
$custom-light: #9d7fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#704bb4",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 180
  },
  "hsl": {
    "h": 261.143,
    "s": 41.176,
    "l": 50
  },
  "oklch": {
    "l": 0.50659,
    "c": 0.16004,
    "h": 296.5
  },
  "luminance": 0.11772
}

Semantic roles & 50–950 ramp

primary
#704BB4
secondary
#B4C596
accent
#D157A6
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #704BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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