#704EBA#704EBA

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

Color values

HEX#704EBA
RGBrgb(112, 78, 186)
HSLhsl(259, 44%, 52%)
HSVhsv(259, 58%, 73%)
CMYKcmyk(39.8%, 58.1%, 0%, 27.1%)
CIE-LABlab(41.90, 38.96, -52.26)
CIE-LCHlch(41.90, 65.18, 306.70°)
OKLaboklab(51.56% 0.0677 -0.1486)
OKLCHoklch(51.56% 0.163 294.5)
XYZxyz(18.2671, 12.4383, 47.8832)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EBA #98BA4E
analogous
#4E62BA #704EBA #A64EBA
triadic
#704EBA #BA704E #4EBA70
tetradic
#704EBA #BA4E62 #98BA4E #4EBAA6
square
#704EBA #BA4E62 #98BA4E #4EBAA6
split-complementary
#704EBA #BAA64E #62BA4E
monochromatic
#3B2866 #553992 #704EBA #947ACB #B7A6DC

Accessibility & contrast

On white

6.02
#704EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#704EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704EBA
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EBA#FFFFFF#000000##FFFFFF
##704EBA1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E64BE
Deuteranopia (green-blind)
#1E61B8
Tritanopia (blue-blind)
#5D657C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #704eba;
/* rgb */ color: rgb(112, 78, 186);
/* oklch */ color: oklch(51.6% 0.163 294.5);
Tailwind
colors: {
  custom: {
    50: '#9e81cf',
    500: '#704eba',
    950: '#000000',
  },
}
SCSS
$custom: #704eba;
$custom-light: #9e81cf;
$custom-dark: #000000;
JSON
{
  "hex": "#704eba",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 186
  },
  "hsl": {
    "h": 258.889,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51558,
    "c": 0.16328,
    "h": 294.5
  },
  "luminance": 0.12439
}

Semantic roles & 50–950 ramp

primary
#704EBA
secondary
#BBCA9A
accent
#D454AC
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #704EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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