#704FDE#704FDE

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

Color values

HEX#704FDE
RGBrgb(112, 79, 222)
HSLhsl(254, 68%, 59%)
HSVhsv(254, 64%, 87%)
CMYKcmyk(49.5%, 64.4%, 0%, 12.9%)
CIE-LABlab(44.67, 48.51, -68.55)
CIE-LCHlch(44.67, 83.97, 305.29°)
OKLaboklab(54.38% 0.0643 -0.1965)
OKLCHoklch(54.38% 0.207 288.1)
XYZxyz(22.6591, 14.3096, 70.6612)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FDE #BDDE4F
analogous
#4F76DE #704FDE #B84FDE
triadic
#704FDE #DE704F #4FDE70
tetradic
#704FDE #DE4F76 #BDDE4F #4FDEB8
square
#704FDE #DE4F76 #BDDE4F #4FDEB8
split-complementary
#704FDE #DEB84F #76DE4F
monochromatic
#381C96 #4C26CA #704FDE #9A83E8 #C4B6F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##704FDE#FFFFFF#000000##FFFFFF
##704FDE1.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)
#006DE2
Deuteranopia (green-blind)
#0066DB
Tritanopia (blue-blind)
#497290
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #704fde;
/* rgb */ color: rgb(112, 79, 222);
/* oklch */ color: oklch(54.4% 0.207 288.1);
Tailwind
colors: {
  custom: {
    50: '#a282e9',
    500: '#704fde',
    950: '#000000',
  },
}
SCSS
$custom: #704fde;
$custom-light: #a282e9;
$custom-dark: #000000;
JSON
{
  "hex": "#704fde",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 222
  },
  "hsl": {
    "h": 253.846,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54384,
    "c": 0.20675,
    "h": 288.1
  },
  "luminance": 0.14311
}

Semantic roles & 50–950 ramp

primary
#704FDE
secondary
#D4E0A8
accent
#EB3DC3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #704FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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