#704AEF#704AEF

#704AEF is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.1% C 0.233 H 286.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#704AEF
RGBrgb(112, 74, 239)
HSLhsl(254, 84%, 61%)
HSVhsv(254, 69%, 94%)
CMYKcmyk(53.1%, 69%, 0%, 6.3%)
CIE-LABlab(45.04, 55.98, -77.57)
CIE-LCHlch(45.04, 95.66, 305.82°)
OKLaboklab(55.07% 0.0664 -0.223)
OKLCHoklch(55.07% 0.233 286.6)
XYZxyz(24.7062, 14.5730, 83.1557)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704AEF #C9EF4A
analogous
#4A77EF #704AEF #C34AEF
triadic
#704AEF #EF704A #4AEF70
tetradic
#704AEF #EF4A77 #C9EF4A #4AEFC3
square
#704AEF #EF4A77 #C9EF4A #4AEFC3
split-complementary
#704AEF #EFC34A #77EF4A
monochromatic
#340FAF #4514E7 #704AEF #9C82F4 #C9BAF9

Accessibility & contrast

On white

5.36
#704AEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #704AEF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704AEF#FFFFFF#000000##FFFFFF
##704AEF1.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF4
Deuteranopia (green-blind)
#0066EC
Tritanopia (blue-blind)
#3B7597
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #704aef;
/* rgb */ color: rgb(112, 74, 239);
/* oklch */ color: oklch(55.1% 0.233 286.6);
Tailwind
colors: {
  custom: {
    50: '#a480f5',
    500: '#704aef',
    950: '#000000',
  },
}
SCSS
$custom: #704aef;
$custom-light: #a480f5;
$custom-dark: #000000;
JSON
{
  "hex": "#704aef",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 239
  },
  "hsl": {
    "h": 253.818,
    "s": 83.756,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55067,
    "c": 0.23264,
    "h": 286.6
  },
  "luminance": 0.14574
}

Semantic roles & 50–950 ramp

primary
#704AEF
secondary
#DBE9AC
accent
#E005AE
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #704AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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