#704AFA#704AFA

#704AFA is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.0% C 0.245 H 285.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#704AFA
RGBrgb(112, 74, 250)
HSLhsl(253, 95%, 64%)
HSVhsv(253, 70%, 98%)
CMYKcmyk(55.2%, 70.4%, 0%, 2%)
CIE-LABlab(45.97, 59.06, -82.22)
CIE-LCHlch(45.97, 101.24, 305.69°)
OKLaboklab(56.01% 0.0644 -0.2366)
OKLCHoklch(56.01% 0.245 285.2)
XYZxyz(26.3810, 15.2429, 91.9760)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704AFA #D4FA4A
analogous
#4A7CFA #704AFA #C84AFA
triadic
#704AFA #FA704A #4AFA70
tetradic
#704AFA #FA4A7C #D4FA4A #4AFAC8
square
#704AFA #FA4A7C #D4FA4A #4AFAC8
split-complementary
#704AFA #FAC84A #7CFA4A
monochromatic
#2F05C4 #410EF8 #704AFA #9F86FC #CEC1FD

Accessibility & contrast

On white

5.19
#704AFA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#704AFA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704AFA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704AFA#FFFFFF#000000##FFFFFF
##704AFA1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072FF
Deuteranopia (green-blind)
#0067F7
Tritanopia (blue-blind)
#2E799D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #704afa;
/* rgb */ color: rgb(112, 74, 250);
/* oklch */ color: oklch(56.0% 0.245 285.2);
Tailwind
colors: {
  custom: {
    50: '#a680fd',
    500: '#704afa',
    950: '#000000',
  },
}
SCSS
$custom: #704afa;
$custom-light: #a680fd;
$custom-dark: #000000;
JSON
{
  "hex": "#704afa",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 250
  },
  "hsl": {
    "h": 252.955,
    "s": 94.624,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56006,
    "c": 0.24522,
    "h": 285.2
  },
  "luminance": 0.15244
}

Semantic roles & 50–950 ramp

primary
#704AFA
secondary
#E2EFB1
accent
#E600B4
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110A18
muted
#807C86

Preview Lab

Preview with #704AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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