#704CE3#704CE3

#704CE3 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.4% C 0.216 H 287.9°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#704CE3
RGBrgb(112, 76, 227)
HSLhsl(254, 73%, 59%)
HSVhsv(254, 67%, 89%)
CMYKcmyk(50.7%, 66.5%, 0%, 11%)
CIE-LABlab(44.46, 51.55, -71.74)
CIE-LCHlch(44.46, 88.34, 305.70°)
OKLaboklab(54.35% 0.0666 -0.2059)
OKLCHoklch(54.35% 0.216 287.9)
XYZxyz(23.1276, 14.1586, 74.1724)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CE3 #BFE34C
analogous
#4C73E3 #704CE3 #BC4CE3
triadic
#704CE3 #E3704C #4CE370
tetradic
#704CE3 #E34C73 #BFE34C #4CE3BC
square
#704CE3 #E34C73 #BFE34C #4CE3BC
split-complementary
#704CE3 #E3BC4C #73E34C
monochromatic
#38189C #4B21D1 #704CE3 #9A81EB #C5B6F4

Accessibility & contrast

On white

5.48
#704CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#704CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CE3
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CE3#FFFFFF#000000##FFFFFF
##704CE31.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#0065E0
Tritanopia (blue-blind)
#467291
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #704ce3;
/* rgb */ color: rgb(112, 76, 227);
/* oklch */ color: oklch(54.4% 0.216 287.9);
Tailwind
colors: {
  custom: {
    50: '#a380ed',
    500: '#704ce3',
    950: '#000000',
  },
}
SCSS
$custom: #704ce3;
$custom-light: #a380ed;
$custom-dark: #000000;
JSON
{
  "hex": "#704ce3",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 227
  },
  "hsl": {
    "h": 254.305,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5435,
    "c": 0.21636,
    "h": 287.9
  },
  "luminance": 0.1416
}

Semantic roles & 50–950 ramp

primary
#704CE3
secondary
#D5E3A8
accent
#F038C4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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