#704FB5#704FB5

#704FB5 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.4% C 0.155 H 295.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#704FB5
RGBrgb(112, 79, 181)
HSLhsl(259, 41%, 51%)
HSVhsv(259, 56%, 71%)
CMYKcmyk(38.1%, 56.4%, 0%, 29%)
CIE-LABlab(41.80, 37.00, -49.49)
CIE-LCHlch(41.80, 61.79, 306.79°)
OKLaboklab(51.38% 0.0664 -0.1405)
OKLCHoklch(51.38% 0.155 295.3)
XYZxyz(17.8164, 12.3726, 45.1566)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FB5 #94B54F
analogous
#4F61B5 #704FB5 #A34FB5
triadic
#704FB5 #B5704F #4FB570
tetradic
#704FB5 #B54F61 #94B54F #4FB5A3
square
#704FB5 #B54F61 #94B54F #4FB5A3
split-complementary
#704FB5 #B5A34F #61B54F
monochromatic
#3B2961 #553B8C #704FB5 #937AC7 #B6A5D9

Accessibility & contrast

On white

6.04
#704FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#704FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FB5
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FB5#FFFFFF#000000##FFFFFF
##704FB51.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D63B8
Deuteranopia (green-blind)
#2861B3
Tritanopia (blue-blind)
#5F647A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #704fb5;
/* rgb */ color: rgb(112, 79, 181);
/* oklch */ color: oklch(51.4% 0.155 295.3);
Tailwind
colors: {
  custom: {
    50: '#9d81cc',
    500: '#704fb5',
    950: '#000000',
  },
}
SCSS
$custom: #704fb5;
$custom-light: #9d81cc;
$custom-dark: #000000;
JSON
{
  "hex": "#704fb5",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 181
  },
  "hsl": {
    "h": 259.412,
    "s": 40.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51379,
    "c": 0.15538,
    "h": 295.3
  },
  "luminance": 0.12373
}

Semantic roles & 50–950 ramp

primary
#704FB5
secondary
#B8C699
accent
#D157A9
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #704FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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