#704BE7#704BE7

#704BE7 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.5% C 0.222 H 287.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#704BE7
RGBrgb(112, 75, 231)
HSLhsl(254, 76%, 60%)
HSVhsv(254, 68%, 91%)
CMYKcmyk(51.5%, 67.5%, 0%, 9.4%)
CIE-LABlab(44.58, 53.21, -73.80)
CIE-LCHlch(44.58, 90.98, 305.79°)
OKLaboklab(54.54% 0.0669 -0.2119)
OKLCHoklch(54.54% 0.222 287.5)
XYZxyz(23.6177, 14.2453, 77.0910)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BE7 #C2E74B
analogous
#4B74E7 #704BE7 #BE4BE7
triadic
#704BE7 #E7704B #4BE770
tetradic
#704BE7 #E74B74 #C2E74B #4BE7BE
square
#704BE7 #E74B74 #C2E74B #4BE7BE
split-complementary
#704BE7 #E7BE4B #74E74B
monochromatic
#3716A2 #491DD8 #704BE7 #9B81EE #C6B7F5

Accessibility & contrast

On white

5.46
#704BE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#704BE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BE7
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BE7#FFFFFF#000000##FFFFFF
##704BE71.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#0065E4
Tritanopia (blue-blind)
#427393
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #704be7;
/* rgb */ color: rgb(112, 75, 231);
/* oklch */ color: oklch(54.5% 0.222 287.5);
Tailwind
colors: {
  custom: {
    50: '#a380f0',
    500: '#704be7',
    950: '#000000',
  },
}
SCSS
$custom: #704be7;
$custom-light: #a380f0;
$custom-dark: #000000;
JSON
{
  "hex": "#704be7",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 231
  },
  "hsl": {
    "h": 254.231,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.54536,
    "c": 0.22223,
    "h": 287.5
  },
  "luminance": 0.14246
}

Semantic roles & 50–950 ramp

primary
#704BE7
secondary
#D7E5A9
accent
#F335C6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #704BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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