#704BE3#704BE3

#704BE3 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.2% C 0.218 H 288.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#704BE3
RGBrgb(112, 75, 227)
HSLhsl(255, 73%, 59%)
HSVhsv(255, 67%, 89%)
CMYKcmyk(50.7%, 67%, 0%, 11%)
CIE-LABlab(44.26, 52.08, -72.06)
CIE-LCHlch(44.26, 88.91, 305.86°)
OKLaboklab(54.21% 0.0675 -0.2068)
OKLCHoklch(54.21% 0.218 288.1)
XYZxyz(23.0592, 14.0219, 74.1496)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BE3 #BEE34B
analogous
#4B72E3 #704BE3 #BC4BE3
triadic
#704BE3 #E3704B #4BE370
tetradic
#704BE3 #E34B72 #BEE34B #4BE3BC
square
#704BE3 #E34B72 #BEE34B #4BE3BC
split-complementary
#704BE3 #E3BC4B #72E34B
monochromatic
#38189B #4B20D0 #704BE3 #9A80EB #C4B5F3

Accessibility & contrast

On white

5.52
#704BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#704BE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BE3
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BE3#FFFFFF#000000##FFFFFF
##704BE31.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #704be3;
/* rgb */ color: rgb(112, 75, 227);
/* oklch */ color: oklch(54.2% 0.218 288.1);
Tailwind
colors: {
  custom: {
    50: '#a380ed',
    500: '#704be3',
    950: '#000000',
  },
}
SCSS
$custom: #704be3;
$custom-light: #a380ed;
$custom-dark: #000000;
JSON
{
  "hex": "#704be3",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 227
  },
  "hsl": {
    "h": 254.605,
    "s": 73.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54209,
    "c": 0.21753,
    "h": 288.1
  },
  "luminance": 0.14023
}

Semantic roles & 50–950 ramp

primary
#704BE3
secondary
#D4E3A7
accent
#F038C3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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