#704BB6#704BB6

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

Color values

HEX#704BB6
RGBrgb(112, 75, 182)
HSLhsl(261, 42%, 50%)
HSVhsv(261, 59%, 71%)
CMYKcmyk(38.5%, 58.8%, 0%, 28.6%)
CIE-LABlab(40.98, 39.59, -51.39)
CIE-LCHlch(40.98, 64.87, 307.60°)
OKLaboklab(50.8% 0.0714 -0.1461)
OKLCHoklch(50.8% 0.163 296)
XYZxyz(17.6395, 11.8540, 45.6056)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BB6 #91B64B
analogous
#4B5BB6 #704BB6 #A54BB6
triadic
#704BB6 #B6704B #4BB670
tetradic
#704BB6 #B64B5B #91B64B #4BB6A5
square
#704BB6 #B64B5B #91B64B #4BB6A5
split-complementary
#704BB6 #B6A54B #5BB64B
monochromatic
#3B2760 #55388B #704BB6 #9377C8 #B5A2D9

Accessibility & contrast

On white

6.23
#704BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#704BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BB6
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BB6#FFFFFF#000000##FFFFFF
##704BB61.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A61BA
Deuteranopia (green-blind)
#1F5FB4
Tritanopia (blue-blind)
#5F6279
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #704bb6;
/* rgb */ color: rgb(112, 75, 182);
/* oklch */ color: oklch(50.8% 0.163 296.0);
Tailwind
colors: {
  custom: {
    50: '#9d7fcc',
    500: '#704bb6',
    950: '#000000',
  },
}
SCSS
$custom: #704bb6;
$custom-light: #9d7fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#704bb6",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 182
  },
  "hsl": {
    "h": 260.748,
    "s": 42.292,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50797,
    "c": 0.16257,
    "h": 296
  },
  "luminance": 0.11854
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #704BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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