#704BBF#704BBF

#704BBF is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.4% C 0.174 H 294.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#704BBF
RGBrgb(112, 75, 191)
HSLhsl(259, 48%, 52%)
HSVhsv(259, 61%, 75%)
CMYKcmyk(41.4%, 60.7%, 0%, 25.1%)
CIE-LABlab(41.59, 42.04, -55.68)
CIE-LCHlch(41.59, 69.77, 307.06°)
OKLaboklab(51.44% 0.0711 -0.1587)
OKLCHoklch(51.44% 0.174 294.1)
XYZxyz(18.5996, 12.2380, 50.6623)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BBF #9ABF4B
analogous
#4B60BF #704BBF #AA4BBF
triadic
#704BBF #BF704B #4BBF70
tetradic
#704BBF #BF4B60 #9ABF4B #4BBFAA
square
#704BBF #BF4B60 #9ABF4B #4BBFAA
split-complementary
#704BBF #BFAA4B #60BF4B
monochromatic
#3B266A #553697 #704BBF #9478CF #B8A5DF

Accessibility & contrast

On white

6.09
#704BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#704BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BBF
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BBF#FFFFFF#000000##FFFFFF
##704BBF1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0460BD
Tritanopia (blue-blind)
#5B657E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #704bbf;
/* rgb */ color: rgb(112, 75, 191);
/* oklch */ color: oklch(51.4% 0.174 294.1);
Tailwind
colors: {
  custom: {
    50: '#9e7fd3',
    500: '#704bbf',
    950: '#000000',
  },
}
SCSS
$custom: #704bbf;
$custom-light: #9e7fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#704bbf",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 259.138,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51437,
    "c": 0.17387,
    "h": 294.1
  },
  "luminance": 0.12238
}

Semantic roles & 50–950 ramp

primary
#704BBF
secondary
#BCCC9A
accent
#D751AC
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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