#704FBB#704FBB

#704FBB is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.8% C 0.163 H 294.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#704FBB
RGBrgb(112, 79, 187)
HSLhsl(258, 44%, 52%)
HSVhsv(258, 58%, 73%)
CMYKcmyk(40.1%, 57.8%, 0%, 26.7%)
CIE-LABlab(42.19, 38.66, -52.38)
CIE-LCHlch(42.19, 65.10, 306.43°)
OKLaboklab(51.79% 0.0665 -0.1489)
OKLCHoklch(51.79% 0.163 294)
XYZxyz(18.4453, 12.6241, 48.4689)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FBB #9ABB4F
analogous
#4F64BB #704FBB #A64FBB
triadic
#704FBB #BB704F #4FBB70
tetradic
#704FBB #BB4F64 #9ABB4F #4FBBA6
square
#704FBB #BB4F64 #9ABB4F #4FBBA6
split-complementary
#704FBB #BBA64F #64BB4F
monochromatic
#3B2868 #553994 #704FBB #947BCC #B8A7DD

Accessibility & contrast

On white

5.96
#704FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#704FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FBB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FBB#FFFFFF#000000##FFFFFF
##704FBB1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1065BF
Deuteranopia (green-blind)
#1F62B9
Tritanopia (blue-blind)
#5D667D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #704fbb;
/* rgb */ color: rgb(112, 79, 187);
/* oklch */ color: oklch(51.8% 0.163 294.0);
Tailwind
colors: {
  custom: {
    50: '#9e81d0',
    500: '#704fbb',
    950: '#000000',
  },
}
SCSS
$custom: #704fbb;
$custom-light: #9e81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#704fbb",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 258.333,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5179,
    "c": 0.16311,
    "h": 294
  },
  "luminance": 0.12625
}

Semantic roles & 50–950 ramp

primary
#704FBB
secondary
#BCCA9B
accent
#D454AD
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #704FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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