#704FE1#704FE1

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

Color values

HEX#704FE1
RGBrgb(112, 79, 225)
HSLhsl(254, 71%, 60%)
HSVhsv(254, 65%, 88%)
CMYKcmyk(50.2%, 64.9%, 0%, 11.8%)
CIE-LABlab(44.90, 49.36, -69.88)
CIE-LCHlch(44.90, 85.55, 305.24°)
OKLaboklab(54.62% 0.064 -0.2004)
OKLCHoklch(54.62% 0.21 287.7)
XYZxyz(23.0647, 14.4719, 72.7976)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FE1 #C0E14F
analogous
#4F77E1 #704FE1 #B94FE1
triadic
#704FE1 #E1704F #4FE170
tetradic
#704FE1 #E14F77 #C0E14F #4FE1B9
square
#704FE1 #E14F77 #C0E14F #4FE1B9
split-complementary
#704FE1 #E1B94F #77E14F
monochromatic
#381A9B #4A23CF #704FE1 #9A83EA #C5B8F3

Accessibility & contrast

On white

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

On black

3.89
#704FE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##704FE1#FFFFFF#000000##FFFFFF
##704FE11.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE6
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#477391
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #704fe1;
/* rgb */ color: rgb(112, 79, 225);
/* oklch */ color: oklch(54.6% 0.210 287.7);
Tailwind
colors: {
  custom: {
    50: '#a282eb',
    500: '#704fe1',
    950: '#000000',
  },
}
SCSS
$custom: #704fe1;
$custom-light: #a282eb;
$custom-dark: #000000;
JSON
{
  "hex": "#704fe1",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 253.562,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5462,
    "c": 0.21038,
    "h": 287.7
  },
  "luminance": 0.14473
}

Semantic roles & 50–950 ramp

primary
#704FE1
secondary
#D5E2AA
accent
#EE3AC5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #704FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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