#704EBE#704EBE

#704EBE is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.8% C 0.168 H 293.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#704EBE
RGBrgb(112, 78, 190)
HSLhsl(258, 46%, 53%)
HSVhsv(258, 59%, 75%)
CMYKcmyk(41.1%, 58.9%, 0%, 25.5%)
CIE-LABlab(42.17, 40.06, -54.16)
CIE-LCHlch(42.17, 67.37, 306.49°)
OKLaboklab(51.84% 0.0676 -0.1542)
OKLCHoklch(51.84% 0.168 293.7)
XYZxyz(18.6983, 12.6108, 50.1542)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EBE #9CBE4E
analogous
#4E64BE #704EBE #A84EBE
triadic
#704EBE #BE704E #4EBE70
tetradic
#704EBE #BE4E64 #9CBE4E #4EBEA8
square
#704EBE #BE4E64 #9CBE4E #4EBEA8
split-complementary
#704EBE #BEA84E #64BE4E
monochromatic
#3C276A #553897 #704EBE #947BCE #B8A8DF

Accessibility & contrast

On white

5.96
#704EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#704EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704EBE
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EBE#FFFFFF#000000##FFFFFF
##704EBE1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C2
Deuteranopia (green-blind)
#1562BC
Tritanopia (blue-blind)
#5B667E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #704ebe;
/* rgb */ color: rgb(112, 78, 190);
/* oklch */ color: oklch(51.8% 0.168 293.7);
Tailwind
colors: {
  custom: {
    50: '#9e81d2',
    500: '#704ebe',
    950: '#000000',
  },
}
SCSS
$custom: #704ebe;
$custom-light: #9e81d2;
$custom-dark: #000000;
JSON
{
  "hex": "#704ebe",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 258.214,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51838,
    "c": 0.16837,
    "h": 293.7
  },
  "luminance": 0.12611
}

Semantic roles & 50–950 ramp

primary
#704EBE
secondary
#BDCC9C
accent
#D652AE
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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