#704BE8#704BE8

#704BE8 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.6% C 0.223 H 287.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#704BE8
RGBrgb(112, 75, 232)
HSLhsl(254, 77%, 60%)
HSVhsv(254, 68%, 91%)
CMYKcmyk(51.7%, 67.7%, 0%, 9%)
CIE-LABlab(44.66, 53.49, -74.24)
CIE-LCHlch(44.66, 91.50, 305.77°)
OKLaboklab(54.62% 0.0667 -0.2132)
OKLCHoklch(54.62% 0.223 287.4)
XYZxyz(23.7594, 14.3019, 77.8369)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BE8 #C3E84B
analogous
#4B75E8 #704BE8 #BE4BE8
triadic
#704BE8 #E8704B #4BE870
tetradic
#704BE8 #E84B75 #C3E84B #4BE8BE
square
#704BE8 #E84B75 #C3E84B #4BE8BE
split-complementary
#704BE8 #E8BE4B #75E84B
monochromatic
#3715A4 #491CDA #704BE8 #9B81EF #C6B8F6

Accessibility & contrast

On white

5.44
#704BE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#704BE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BE8
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BE8#FFFFFF#000000##FFFFFF
##704BE81.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DED
Deuteranopia (green-blind)
#0065E5
Tritanopia (blue-blind)
#427394
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #704be8;
/* rgb */ color: rgb(112, 75, 232);
/* oklch */ color: oklch(54.6% 0.223 287.4);
Tailwind
colors: {
  custom: {
    50: '#a380f0',
    500: '#704be8',
    950: '#000000',
  },
}
SCSS
$custom: #704be8;
$custom-light: #a380f0;
$custom-dark: #000000;
JSON
{
  "hex": "#704be8",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 232
  },
  "hsl": {
    "h": 254.14,
    "s": 77.34,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54619,
    "c": 0.2234,
    "h": 287.4
  },
  "luminance": 0.14303
}

Semantic roles & 50–950 ramp

primary
#704BE8
secondary
#D7E6A9
accent
#DA0CA9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #704BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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