#704FDF#704FDF

#704FDF is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.5% C 0.208 H 288.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#704FDF
RGBrgb(112, 79, 223)
HSLhsl(254, 69%, 59%)
HSVhsv(254, 65%, 87%)
CMYKcmyk(49.8%, 64.6%, 0%, 12.5%)
CIE-LABlab(44.75, 48.79, -68.99)
CIE-LCHlch(44.75, 84.50, 305.27°)
OKLaboklab(54.46% 0.0642 -0.1978)
OKLCHoklch(54.46% 0.208 288)
XYZxyz(22.7935, 14.3634, 71.3691)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FDF #BEDF4F
analogous
#4F76DF #704FDF #B84FDF
triadic
#704FDF #DF704F #4FDF70
tetradic
#704FDF #DF4F76 #BEDF4F #4FDFB8
square
#704FDF #DF4F76 #BEDF4F #4FDFB8
split-complementary
#704FDF #DFB84F #76DF4F
monochromatic
#381C98 #4B25CC #704FDF #9A83E8 #C4B7F2

Accessibility & contrast

On white

5.42
#704FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#704FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FDF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FDF#FFFFFF#000000##FFFFFF
##704FDF1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE3
Deuteranopia (green-blind)
#0066DC
Tritanopia (blue-blind)
#487290
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #704fdf;
/* rgb */ color: rgb(112, 79, 223);
/* oklch */ color: oklch(54.5% 0.208 288.0);
Tailwind
colors: {
  custom: {
    50: '#a282ea',
    500: '#704fdf',
    950: '#000000',
  },
}
SCSS
$custom: #704fdf;
$custom-light: #a282ea;
$custom-dark: #000000;
JSON
{
  "hex": "#704fdf",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 253.75,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54462,
    "c": 0.20796,
    "h": 288
  },
  "luminance": 0.14364
}

Semantic roles & 50–950 ramp

primary
#704FDF
secondary
#D4E1A9
accent
#EC3CC4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #704FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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