#704BE5#704BE5

#704BE5 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.4% C 0.220 H 287.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#704BE5
RGBrgb(112, 75, 229)
HSLhsl(254, 75%, 60%)
HSVhsv(254, 67%, 90%)
CMYKcmyk(51.1%, 67.2%, 0%, 10.2%)
CIE-LABlab(44.42, 52.65, -72.93)
CIE-LCHlch(44.42, 89.95, 305.82°)
OKLaboklab(54.37% 0.0672 -0.2094)
OKLCHoklch(54.37% 0.22 287.8)
XYZxyz(23.3369, 14.1329, 75.6118)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BE5 #C0E54B
analogous
#4B73E5 #704BE5 #BD4BE5
triadic
#704BE5 #E5704B #4BE570
tetradic
#704BE5 #E54B73 #C0E54B #4BE5BD
square
#704BE5 #E54B73 #C0E54B #4BE5BD
split-complementary
#704BE5 #E5BD4B #73E54B
monochromatic
#38179F #4A1FD4 #704BE5 #9A80ED #C5B6F4

Accessibility & contrast

On white

5.49
#704BE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#704BE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BE5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BE5#FFFFFF#000000##FFFFFF
##704BE51.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEA
Deuteranopia (green-blind)
#0065E2
Tritanopia (blue-blind)
#447292
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #704be5;
/* rgb */ color: rgb(112, 75, 229);
/* oklch */ color: oklch(54.4% 0.220 287.8);
Tailwind
colors: {
  custom: {
    50: '#a380ee',
    500: '#704be5',
    950: '#000000',
  },
}
SCSS
$custom: #704be5;
$custom-light: #a380ee;
$custom-dark: #000000;
JSON
{
  "hex": "#704be5",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 229
  },
  "hsl": {
    "h": 254.416,
    "s": 74.757,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54372,
    "c": 0.21988,
    "h": 287.8
  },
  "luminance": 0.14134
}

Semantic roles & 50–950 ramp

primary
#704BE5
secondary
#D5E4A8
accent
#F136C4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #704BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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