#704EBF#704EBF

#704EBF is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.9% C 0.170 H 293.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#704EBF
RGBrgb(112, 78, 191)
HSLhsl(258, 47%, 53%)
HSVhsv(258, 59%, 75%)
CMYKcmyk(41.4%, 59.2%, 0%, 25.1%)
CIE-LABlab(42.24, 40.34, -54.64)
CIE-LCHlch(42.24, 67.92, 306.44°)
OKLaboklab(51.91% 0.0676 -0.1556)
OKLCHoklch(51.91% 0.17 293.5)
XYZxyz(18.8079, 12.6546, 50.7318)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EBF #9DBF4E
analogous
#4E64BF #704EBF #A84EBF
triadic
#704EBF #BF704E #4EBF70
tetradic
#704EBF #BF4E64 #9DBF4E #4EBFA8
square
#704EBF #BF4E64 #9DBF4E #4EBFA8
split-complementary
#704EBF #BFA84E #64BF4E
monochromatic
#3C276C #543799 #704EBF #947BCF #B9A8E0

Accessibility & contrast

On white

5.95
#704EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#704EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704EBF
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EBF#FFFFFF#000000##FFFFFF
##704EBF1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#1362BD
Tritanopia (blue-blind)
#5B677F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #704ebf;
/* rgb */ color: rgb(112, 78, 191);
/* oklch */ color: oklch(51.9% 0.170 293.5);
Tailwind
colors: {
  custom: {
    50: '#9e81d3',
    500: '#704ebf',
    950: '#000000',
  },
}
SCSS
$custom: #704ebf;
$custom-light: #9e81d3;
$custom-dark: #000000;
JSON
{
  "hex": "#704ebf",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 258.053,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51909,
    "c": 0.16965,
    "h": 293.5
  },
  "luminance": 0.12655
}

Semantic roles & 50–950 ramp

primary
#704EBF
secondary
#BECD9C
accent
#D751AE
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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