#704DEB#704DEB

#704DEB is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.1% C 0.225 H 286.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#704DEB
RGBrgb(112, 77, 235)
HSLhsl(253, 80%, 61%)
HSVhsv(253, 67%, 92%)
CMYKcmyk(52.3%, 67.2%, 0%, 7.8%)
CIE-LABlab(45.29, 53.28, -74.91)
CIE-LCHlch(45.29, 91.93, 305.42°)
OKLaboklab(55.14% 0.0645 -0.2152)
OKLCHoklch(55.14% 0.225 286.7)
XYZxyz(24.3269, 14.7494, 80.1462)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DEB #C8EB4D
analogous
#4D79EB #704DEB #BF4DEB
triadic
#704DEB #EB704D #4DEB70
tetradic
#704DEB #EB4D79 #C8EB4D #4DEBBF
square
#704DEB #EB4D79 #C8EB4D #4DEBBF
split-complementary
#704DEB #EBBF4D #79EB4D
monochromatic
#3513AA #4619E1 #704DEB #9C84F1 #C8BBF7

Accessibility & contrast

On white

5.32
#704DEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#704DEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DEB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DEB#FFFFFF#000000##FFFFFF
##704DEB1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF0
Deuteranopia (green-blind)
#0067E8
Tritanopia (blue-blind)
#3F7596
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #704deb;
/* rgb */ color: rgb(112, 77, 235);
/* oklch */ color: oklch(55.1% 0.225 286.7);
Tailwind
colors: {
  custom: {
    50: '#a481f3',
    500: '#704deb',
    950: '#000000',
  },
}
SCSS
$custom: #704deb;
$custom-light: #a481f3;
$custom-dark: #000000;
JSON
{
  "hex": "#704deb",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 235
  },
  "hsl": {
    "h": 253.291,
    "s": 79.798,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55142,
    "c": 0.22465,
    "h": 286.7
  },
  "luminance": 0.14751
}

Semantic roles & 50–950 ramp

primary
#704DEB
secondary
#DAE8AC
accent
#DC09AD
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #704DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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