#704BE4#704BE4

#704BE4 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.3% C 0.219 H 287.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#704BE4
RGBrgb(112, 75, 228)
HSLhsl(255, 74%, 59%)
HSVhsv(255, 67%, 89%)
CMYKcmyk(50.9%, 67.1%, 0%, 10.6%)
CIE-LABlab(44.34, 52.37, -72.49)
CIE-LCHlch(44.34, 89.43, 305.84°)
OKLaboklab(54.29% 0.0673 -0.2081)
OKLCHoklch(54.29% 0.219 287.9)
XYZxyz(23.1977, 14.0772, 74.8786)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BE4 #BFE44B
analogous
#4B73E4 #704BE4 #BD4BE4
triadic
#704BE4 #E4704B #4BE470
tetradic
#704BE4 #E44B73 #BFE44B #4BE4BD
square
#704BE4 #E44B73 #BFE44B #4BE4BD
split-complementary
#704BE4 #E4BD4B #73E44B
monochromatic
#38189D #4B20D2 #704BE4 #9A80EC #C5B5F4

Accessibility & contrast

On white

5.50
#704BE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#704BE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BE4
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BE4#FFFFFF#000000##FFFFFF
##704BE41.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE9
Deuteranopia (green-blind)
#0065E1
Tritanopia (blue-blind)
#457291
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #704be4;
/* rgb */ color: rgb(112, 75, 228);
/* oklch */ color: oklch(54.3% 0.219 287.9);
Tailwind
colors: {
  custom: {
    50: '#a380ee',
    500: '#704be4',
    950: '#000000',
  },
}
SCSS
$custom: #704be4;
$custom-light: #a380ee;
$custom-dark: #000000;
JSON
{
  "hex": "#704be4",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 228
  },
  "hsl": {
    "h": 254.51,
    "s": 73.913,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54291,
    "c": 0.21871,
    "h": 287.9
  },
  "luminance": 0.14078
}

Semantic roles & 50–950 ramp

primary
#704BE4
secondary
#D5E3A8
accent
#F137C4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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