#704BB7#704BB7

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

Color values

HEX#704BB7
RGBrgb(112, 75, 183)
HSLhsl(261, 43%, 51%)
HSVhsv(261, 59%, 72%)
CMYKcmyk(38.8%, 59%, 0%, 28.2%)
CIE-LABlab(41.05, 39.86, -51.87)
CIE-LCHlch(41.05, 65.42, 307.54°)
OKLaboklab(50.87% 0.0714 -0.1475)
OKLCHoklch(50.87% 0.164 295.8)
XYZxyz(17.7432, 11.8955, 46.1518)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BB7 #92B74B
analogous
#4B5CB7 #704BB7 #A64BB7
triadic
#704BB7 #B7704B #4BB770
tetradic
#704BB7 #B74B5C #92B74B #4BB7A6
square
#704BB7 #B74B5C #92B74B #4BB7A6
split-complementary
#704BB7 #B7A64B #5CB74B
monochromatic
#3B2761 #55388D #704BB7 #9377C8 #B5A2DA

Accessibility & contrast

On white

6.21
#704BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#704BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BB7
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BB7#FFFFFF#000000##FFFFFF
##704BB71.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0662BB
Deuteranopia (green-blind)
#1D5FB5
Tritanopia (blue-blind)
#5F627A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #704bb7;
/* rgb */ color: rgb(112, 75, 183);
/* oklch */ color: oklch(50.9% 0.164 295.8);
Tailwind
colors: {
  custom: {
    50: '#9e7fcd',
    500: '#704bb7',
    950: '#000000',
  },
}
SCSS
$custom: #704bb7;
$custom-light: #9e7fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#704bb7",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 260.556,
    "s": 42.857,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50867,
    "c": 0.16383,
    "h": 295.8
  },
  "luminance": 0.11896
}

Semantic roles & 50–950 ramp

primary
#704BB7
secondary
#B6C797
accent
#D355A8
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #704BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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