#704EBB#704EBB

#704EBB is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.6% C 0.165 H 294.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#704EBB
RGBrgb(112, 78, 187)
HSLhsl(259, 44%, 52%)
HSVhsv(259, 58%, 73%)
CMYKcmyk(40.1%, 58.3%, 0%, 26.7%)
CIE-LABlab(41.97, 39.23, -52.73)
CIE-LCHlch(41.97, 65.73, 306.65°)
OKLaboklab(51.63% 0.0677 -0.15)
OKLCHoklch(51.63% 0.165 294.3)
XYZxyz(18.3737, 12.4810, 48.4451)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EBB #99BB4E
analogous
#4E62BB #704EBB #A74EBB
triadic
#704EBB #BB704E #4EBB70
tetradic
#704EBB #BB4E62 #99BB4E #4EBBA7
square
#704EBB #BB4E62 #99BB4E #4EBBA7
split-complementary
#704EBB #BBA74E #62BB4E
monochromatic
#3B2867 #553993 #704EBB #947ACC #B7A6DD

Accessibility & contrast

On white

6.01
#704EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#704EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704EBB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EBB#FFFFFF#000000##FFFFFF
##704EBB1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A64BF
Deuteranopia (green-blind)
#1C61B9
Tritanopia (blue-blind)
#5D667D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #704ebb;
/* rgb */ color: rgb(112, 78, 187);
/* oklch */ color: oklch(51.6% 0.165 294.3);
Tailwind
colors: {
  custom: {
    50: '#9e81d0',
    500: '#704ebb',
    950: '#000000',
  },
}
SCSS
$custom: #704ebb;
$custom-light: #9e81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#704ebb",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 187
  },
  "hsl": {
    "h": 258.716,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51627,
    "c": 0.16456,
    "h": 294.3
  },
  "luminance": 0.12481
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #704EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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