#704EBC#704EBC

#704EBC is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.7% C 0.166 H 294.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#704EBC
RGBrgb(112, 78, 188)
HSLhsl(259, 45%, 52%)
HSVhsv(259, 59%, 74%)
CMYKcmyk(40.4%, 58.5%, 0%, 26.3%)
CIE-LABlab(42.04, 39.51, -53.21)
CIE-LCHlch(42.04, 66.28, 306.59°)
OKLaboklab(51.7% 0.0677 -0.1514)
OKLCHoklch(51.7% 0.166 294.1)
XYZxyz(18.4812, 12.5239, 49.0108)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EBC #9ABC4E
analogous
#4E63BC #704EBC #A74EBC
triadic
#704EBC #BC704E #4EBC70
tetradic
#704EBC #BC4E63 #9ABC4E #4EBCA7
square
#704EBC #BC4E63 #9ABC4E #4EBCA7
split-complementary
#704EBC #BCA74E #63BC4E
monochromatic
#3B2768 #553895 #704EBC #947ACD #B8A7DE

Accessibility & contrast

On white

5.99
#704EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #704EBC
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EBC#FFFFFF#000000##FFFFFF
##704EBC1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0664C0
Deuteranopia (green-blind)
#1A61BA
Tritanopia (blue-blind)
#5C667D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #704ebc;
/* rgb */ color: rgb(112, 78, 188);
/* oklch */ color: oklch(51.7% 0.166 294.1);
Tailwind
colors: {
  custom: {
    50: '#9e81d1',
    500: '#704ebc',
    950: '#000000',
  },
}
SCSS
$custom: #704ebc;
$custom-light: #9e81d1;
$custom-dark: #000000;
JSON
{
  "hex": "#704ebc",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 188
  },
  "hsl": {
    "h": 258.545,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51697,
    "c": 0.16583,
    "h": 294.1
  },
  "luminance": 0.12524
}

Semantic roles & 50–950 ramp

primary
#704EBC
secondary
#BCCB9B
accent
#D553AD
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #704EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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