#704CBE#704CBE

#704CBE is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.5% C 0.171 H 294.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#704CBE
RGBrgb(112, 76, 190)
HSLhsl(259, 47%, 52%)
HSVhsv(259, 60%, 75%)
CMYKcmyk(41.1%, 60%, 0%, 25.5%)
CIE-LABlab(41.74, 41.20, -54.86)
CIE-LCHlch(41.74, 68.61, 306.91°)
OKLaboklab(51.52% 0.07 -0.1563)
OKLCHoklch(51.52% 0.171 294.1)
XYZxyz(18.5583, 12.3309, 50.1075)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CBE #9ABE4C
analogous
#4C61BE #704CBE #A94CBE
triadic
#704CBE #BE704C #4CBE70
tetradic
#704CBE #BE4C61 #9ABE4C #4CBEA9
square
#704CBE #BE4C61 #9ABE4C #4CBEA9
split-complementary
#704CBE #BEA94C #61BE4C
monochromatic
#3B2669 #553796 #704CBE #9479CE #B8A6DF

Accessibility & contrast

On white

6.06
#704CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#704CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CBE
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CBE#FFFFFF#000000##FFFFFF
##704CBE1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#0E61BC
Tritanopia (blue-blind)
#5C657E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #704cbe;
/* rgb */ color: rgb(112, 76, 190);
/* oklch */ color: oklch(51.5% 0.171 294.1);
Tailwind
colors: {
  custom: {
    50: '#9e7fd2',
    500: '#704cbe',
    950: '#000000',
  },
}
SCSS
$custom: #704cbe;
$custom-light: #9e7fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#704cbe",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 258.947,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51521,
    "c": 0.17121,
    "h": 294.1
  },
  "luminance": 0.12331
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #704CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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