#704EEB#704EEB

#704EEB is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.3% C 0.223 H 286.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#704EEB
RGBrgb(112, 78, 235)
HSLhsl(253, 80%, 61%)
HSVhsv(253, 67%, 92%)
CMYKcmyk(52.3%, 66.8%, 0%, 7.8%)
CIE-LABlab(45.48, 52.75, -74.59)
CIE-LCHlch(45.48, 91.36, 305.27°)
OKLaboklab(55.28% 0.0636 -0.2142)
OKLCHoklch(55.28% 0.223 286.5)
XYZxyz(24.3974, 14.8904, 80.1697)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EEB #C9EB4E
analogous
#4E7BEB #704EEB #BF4EEB
triadic
#704EEB #EB704E #4EEB70
tetradic
#704EEB #EB4E7B #C9EB4E #4EEBBF
square
#704EEB #EB4E7B #C9EB4E #4EEBBF
split-complementary
#704EEB #EBBF4E #7BEB4E
monochromatic
#3413AB #451AE2 #704EEB #9C85F1 #C9BCF7

Accessibility & contrast

On white

5.28
#704EEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#704EEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704EEB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EEB#FFFFFF#000000##FFFFFF
##704EEB1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F0
Deuteranopia (green-blind)
#0067E8
Tritanopia (blue-blind)
#3F7696
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #704eeb;
/* rgb */ color: rgb(112, 78, 235);
/* oklch */ color: oklch(55.3% 0.223 286.5);
Tailwind
colors: {
  custom: {
    50: '#a482f3',
    500: '#704eeb',
    950: '#000000',
  },
}
SCSS
$custom: #704eeb;
$custom-light: #a482f3;
$custom-dark: #000000;
JSON
{
  "hex": "#704eeb",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 235
  },
  "hsl": {
    "h": 252.994,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55282,
    "c": 0.22349,
    "h": 286.5
  },
  "luminance": 0.14892
}

Semantic roles & 50–950 ramp

primary
#704EEB
secondary
#DBE8AD
accent
#DC09AE
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #704EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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