#704BF9#704BF9

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

Color values

HEX#704BF9
RGBrgb(112, 75, 249)
HSLhsl(253, 94%, 64%)
HSVhsv(253, 70%, 98%)
CMYKcmyk(55%, 69.9%, 0%, 2.4%)
CIE-LABlab(46.06, 58.27, -81.51)
CIE-LCHlch(46.06, 100.20, 305.56°)
OKLaboklab(56.05% 0.0638 -0.2345)
OKLCHoklch(56.05% 0.243 285.2)
XYZxyz(26.2919, 15.3149, 91.1748)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BF9 #D4F94B
analogous
#4B7DF9 #704BF9 #C74BF9
triadic
#704BF9 #F9704B #4BF970
tetradic
#704BF9 #F94B7D #D4F94B #4BF9C7
square
#704BF9 #F94B7D #D4F94B #4BF9C7
split-complementary
#704BF9 #F9C74B #7DF94B
monochromatic
#2F07C3 #4110F7 #704BF9 #9F86FB #CEC1FD

Accessibility & contrast

On white

5.17
#704BF9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#704BF9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BF9
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BF9#FFFFFF#000000##FFFFFF
##704BF91.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072FE
Deuteranopia (green-blind)
#0068F6
Tritanopia (blue-blind)
#2F799D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #704bf9;
/* rgb */ color: rgb(112, 75, 249);
/* oklch */ color: oklch(56.0% 0.243 285.2);
Tailwind
colors: {
  custom: {
    50: '#a680fd',
    500: '#704bf9',
    950: '#000000',
  },
}
SCSS
$custom: #704bf9;
$custom-light: #a680fd;
$custom-dark: #000000;
JSON
{
  "hex": "#704bf9",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 249
  },
  "hsl": {
    "h": 252.759,
    "s": 93.548,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56049,
    "c": 0.24304,
    "h": 285.2
  },
  "luminance": 0.15316
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #704BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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