#704FE2#704FE2

#704FE2 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.7% C 0.212 H 287.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#704FE2
RGBrgb(112, 79, 226)
HSLhsl(253, 72%, 60%)
HSVhsv(253, 65%, 89%)
CMYKcmyk(50.4%, 65%, 0%, 11.4%)
CIE-LABlab(44.98, 49.65, -70.32)
CIE-LCHlch(44.98, 86.08, 305.22°)
OKLaboklab(54.7% 0.0639 -0.2017)
OKLCHoklch(54.7% 0.212 287.6)
XYZxyz(23.2015, 14.5266, 73.5182)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FE2 #C1E24F
analogous
#4F78E2 #704FE2 #B94FE2
triadic
#704FE2 #E2704F #4FE270
tetradic
#704FE2 #E24F78 #C1E24F #4FE2B9
square
#704FE2 #E24F78 #C1E24F #4FE2B9
split-complementary
#704FE2 #E2B94F #78E24F
monochromatic
#371A9D #4A22D1 #704FE2 #9B84EB #C5B8F3

Accessibility & contrast

On white

5.38
#704FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#704FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FE2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FE2#FFFFFF#000000##FFFFFF
##704FE21.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#467392
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #704fe2;
/* rgb */ color: rgb(112, 79, 226);
/* oklch */ color: oklch(54.7% 0.212 287.6);
Tailwind
colors: {
  custom: {
    50: '#a282ec',
    500: '#704fe2',
    950: '#000000',
  },
}
SCSS
$custom: #704fe2;
$custom-light: #a282ec;
$custom-dark: #000000;
JSON
{
  "hex": "#704fe2",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 253.469,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.547,
    "c": 0.21159,
    "h": 287.6
  },
  "luminance": 0.14528
}

Semantic roles & 50–950 ramp

primary
#704FE2
secondary
#D6E3AA
accent
#EE39C6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #704FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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