#704EB7#704EB7

#704EB7 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.3% C 0.159 H 295.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#704EB7
RGBrgb(112, 78, 183)
HSLhsl(259, 42%, 51%)
HSVhsv(259, 57%, 72%)
CMYKcmyk(38.8%, 57.4%, 0%, 28.2%)
CIE-LABlab(41.71, 38.13, -50.81)
CIE-LCHlch(41.71, 63.53, 306.89°)
OKLaboklab(51.35% 0.0677 -0.1444)
OKLCHoklch(51.35% 0.159 295.1)
XYZxyz(17.9515, 12.3121, 46.2212)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EB7 #95B74E
analogous
#4E60B7 #704EB7 #A54EB7
triadic
#704EB7 #B7704E #4EB770
tetradic
#704EB7 #B74E60 #95B74E #4EB7A5
square
#704EB7 #B74E60 #95B74E #4EB7A5
split-complementary
#704EB7 #B7A54E #60B74E
monochromatic
#3B2863 #553A8E #704EB7 #937AC9 #B6A5DA

Accessibility & contrast

On white

6.07
#704EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#704EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704EB7
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EB7#FFFFFF#000000##FFFFFF
##704EB71.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1663BA
Deuteranopia (green-blind)
#2361B5
Tritanopia (blue-blind)
#5E647B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #704eb7;
/* rgb */ color: rgb(112, 78, 183);
/* oklch */ color: oklch(51.3% 0.159 295.1);
Tailwind
colors: {
  custom: {
    50: '#9d81cd',
    500: '#704eb7',
    950: '#000000',
  },
}
SCSS
$custom: #704eb7;
$custom-light: #9d81cd;
$custom-dark: #000000;
JSON
{
  "hex": "#704eb7",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 183
  },
  "hsl": {
    "h": 259.429,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5135,
    "c": 0.15945,
    "h": 295.1
  },
  "luminance": 0.12312
}

Semantic roles & 50–950 ramp

primary
#704EB7
secondary
#B9C899
accent
#D256AA
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #704EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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