#704CE9#704CE9

#704CE9 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.8% C 0.223 H 287.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#704CE9
RGBrgb(112, 76, 233)
HSLhsl(254, 78%, 61%)
HSVhsv(254, 67%, 91%)
CMYKcmyk(51.9%, 67.4%, 0%, 8.6%)
CIE-LABlab(44.94, 53.25, -74.36)
CIE-LCHlch(44.94, 91.46, 305.61°)
OKLaboklab(54.84% 0.0657 -0.2136)
OKLCHoklch(54.84% 0.223 287.1)
XYZxyz(23.9702, 14.4956, 78.6099)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CE9 #C5E94C
analogous
#4C76E9 #704CE9 #BE4CE9
triadic
#704CE9 #E9704C #4CE970
tetradic
#704CE9 #E94C76 #C5E94C #4CE9BE
square
#704CE9 #E94C76 #C5E94C #4CE9BE
split-complementary
#704CE9 #E9BE4C #76E94C
monochromatic
#3614A6 #481BDD #704CE9 #9C83F0 #C7B9F6

Accessibility & contrast

On white

5.39
#704CE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#704CE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CE9
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CE9#FFFFFF#000000##FFFFFF
##704CE91.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEE
Deuteranopia (green-blind)
#0066E6
Tritanopia (blue-blind)
#417495
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #704ce9;
/* rgb */ color: rgb(112, 76, 233);
/* oklch */ color: oklch(54.8% 0.223 287.1);
Tailwind
colors: {
  custom: {
    50: '#a381f1',
    500: '#704ce9',
    950: '#000000',
  },
}
SCSS
$custom: #704ce9;
$custom-light: #a381f1;
$custom-dark: #000000;
JSON
{
  "hex": "#704ce9",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 233
  },
  "hsl": {
    "h": 253.758,
    "s": 78.109,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54839,
    "c": 0.22343,
    "h": 287.1
  },
  "luminance": 0.14497
}

Semantic roles & 50–950 ramp

primary
#704CE9
secondary
#D9E6AB
accent
#DA0BAB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #704CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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