#704BE1#704BE1

#704BE1 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.0% C 0.215 H 288.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#704BE1
RGBrgb(112, 75, 225)
HSLhsl(255, 71%, 59%)
HSVhsv(255, 67%, 88%)
CMYKcmyk(50.2%, 66.7%, 0%, 11.8%)
CIE-LABlab(44.11, 51.52, -71.18)
CIE-LCHlch(44.11, 87.87, 305.90°)
OKLaboklab(54.05% 0.0678 -0.2042)
OKLCHoklch(54.05% 0.215 288.4)
XYZxyz(22.7848, 13.9121, 72.7043)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BE1 #BCE14B
analogous
#4B71E1 #704BE1 #BB4BE1
triadic
#704BE1 #E1704B #4BE170
tetradic
#704BE1 #E14B71 #BCE14B #4BE1BB
square
#704BE1 #E14B71 #BCE14B #4BE1BB
split-complementary
#704BE1 #E1BB4B #71E14B
monochromatic
#391998 #4C22CD #704BE1 #9A7FEA #C3B4F2

Accessibility & contrast

On white

5.55
#704BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#704BE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BE1
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BE1#FFFFFF#000000##FFFFFF
##704BE11.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE6
Deuteranopia (green-blind)
#0064DE
Tritanopia (blue-blind)
#477190
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #704be1;
/* rgb */ color: rgb(112, 75, 225);
/* oklch */ color: oklch(54.0% 0.215 288.4);
Tailwind
colors: {
  custom: {
    50: '#a280eb',
    500: '#704be1',
    950: '#000000',
  },
}
SCSS
$custom: #704be1;
$custom-light: #a280eb;
$custom-dark: #000000;
JSON
{
  "hex": "#704be1",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 254.8,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54047,
    "c": 0.21517,
    "h": 288.4
  },
  "luminance": 0.13913
}

Semantic roles & 50–950 ramp

primary
#704BE1
secondary
#D3E1A6
accent
#EE3AC2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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