#704CBB#704CBB

#704CBB is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.3% C 0.167 H 294.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#704CBB
RGBrgb(112, 76, 187)
HSLhsl(259, 45%, 52%)
HSVhsv(259, 59%, 73%)
CMYKcmyk(40.1%, 59.4%, 0%, 26.7%)
CIE-LABlab(41.53, 40.38, -53.44)
CIE-LCHlch(41.53, 66.98, 307.07°)
OKLaboklab(51.31% 0.0701 -0.1521)
OKLCHoklch(51.31% 0.167 294.7)
XYZxyz(18.2338, 12.2011, 48.3984)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CBB #97BB4C
analogous
#4C60BB #704CBB #A74CBB
triadic
#704CBB #BB704C #4CBB70
tetradic
#704CBB #BB4C60 #97BB4C #4CBBA7
square
#704CBB #BB4C60 #97BB4C #4CBBA7
split-complementary
#704CBB #BBA74C #60BB4C
monochromatic
#3B2766 #553892 #704CBB #9378CC #B7A5DD

Accessibility & contrast

On white

6.10
#704CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#704CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CBB
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CBB#FFFFFF#000000##FFFFFF
##704CBB1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#1760B9
Tritanopia (blue-blind)
#5D647C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #704cbb;
/* rgb */ color: rgb(112, 76, 187);
/* oklch */ color: oklch(51.3% 0.167 294.7);
Tailwind
colors: {
  custom: {
    50: '#9e7fd0',
    500: '#704cbb',
    950: '#000000',
  },
}
SCSS
$custom: #704cbb;
$custom-light: #9e7fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#704cbb",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 259.459,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51307,
    "c": 0.16744,
    "h": 294.7
  },
  "luminance": 0.12201
}

Semantic roles & 50–950 ramp

primary
#704CBB
secondary
#BACA99
accent
#D553AB
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #704CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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