#704CBF#704CBF

#704CBF is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.6% C 0.172 H 293.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#704CBF
RGBrgb(112, 76, 191)
HSLhsl(259, 47%, 52%)
HSVhsv(259, 60%, 75%)
CMYKcmyk(41.4%, 60.2%, 0%, 25.1%)
CIE-LABlab(41.81, 41.48, -55.34)
CIE-LCHlch(41.81, 69.16, 306.85°)
OKLaboklab(51.59% 0.0699 -0.1577)
OKLCHoklch(51.59% 0.172 293.9)
XYZxyz(18.6680, 12.3747, 50.6851)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CBF #9BBF4C
analogous
#4C61BF #704CBF #AA4CBF
triadic
#704CBF #BF704C #4CBF70
tetradic
#704CBF #BF4C61 #9BBF4C #4CBFAA
square
#704CBF #BF4C61 #9BBF4C #4CBFAA
split-complementary
#704CBF #BFAA4C #61BF4C
monochromatic
#3C266B #553698 #704CBF #9479CF #B8A6DF

Accessibility & contrast

On white

6.04
#704CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#704CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CBF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CBF#FFFFFF#000000##FFFFFF
##704CBF1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#0A61BD
Tritanopia (blue-blind)
#5B657E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #704cbf;
/* rgb */ color: rgb(112, 76, 191);
/* oklch */ color: oklch(51.6% 0.172 293.9);
Tailwind
colors: {
  custom: {
    50: '#9e80d3',
    500: '#704cbf',
    950: '#000000',
  },
}
SCSS
$custom: #704cbf;
$custom-light: #9e80d3;
$custom-dark: #000000;
JSON
{
  "hex": "#704cbf",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 258.783,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51593,
    "c": 0.17247,
    "h": 293.9
  },
  "luminance": 0.12375
}

Semantic roles & 50–950 ramp

primary
#704CBF
secondary
#BDCC9A
accent
#D751AD
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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