#704FE0#704FE0

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

Color values

HEX#704FE0
RGBrgb(112, 79, 224)
HSLhsl(254, 70%, 59%)
HSVhsv(254, 65%, 88%)
CMYKcmyk(50%, 64.7%, 0%, 12.2%)
CIE-LABlab(44.83, 49.08, -69.44)
CIE-LCHlch(44.83, 85.03, 305.25°)
OKLaboklab(54.54% 0.0641 -0.1991)
OKLCHoklch(54.54% 0.209 287.8)
XYZxyz(22.9287, 14.4175, 72.0813)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FE0 #BFE04F
analogous
#4F77E0 #704FE0 #B84FE0
triadic
#704FE0 #E0704F #4FE070
tetradic
#704FE0 #E04F77 #BFE04F #4FE0B8
square
#704FE0 #E04F77 #BFE04F #4FE0B8
split-complementary
#704FE0 #E0B84F #77E04F
monochromatic
#381B9A #4B24CE #704FE0 #9A83E9 #C5B7F2

Accessibility & contrast

On white

5.41
#704FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#704FE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FE0
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FE0#FFFFFF#000000##FFFFFF
##704FE01.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE5
Deuteranopia (green-blind)
#0066DD
Tritanopia (blue-blind)
#487391
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #704fe0;
/* rgb */ color: rgb(112, 79, 224);
/* oklch */ color: oklch(54.5% 0.209 287.8);
Tailwind
colors: {
  custom: {
    50: '#a282eb',
    500: '#704fe0',
    950: '#000000',
  },
}
SCSS
$custom: #704fe0;
$custom-light: #a282eb;
$custom-dark: #000000;
JSON
{
  "hex": "#704fe0",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 224
  },
  "hsl": {
    "h": 253.655,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54541,
    "c": 0.20918,
    "h": 287.8
  },
  "luminance": 0.14419
}

Semantic roles & 50–950 ramp

primary
#704FE0
secondary
#D5E2A9
accent
#ED3BC4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #704FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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