#704CB7#704CB7

#704CB7 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.0% C 0.162 H 295.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#704CB7
RGBrgb(112, 76, 183)
HSLhsl(260, 43%, 51%)
HSVhsv(260, 58%, 72%)
CMYKcmyk(38.8%, 58.5%, 0%, 28.2%)
CIE-LABlab(41.27, 39.28, -51.52)
CIE-LCHlch(41.27, 64.79, 307.32°)
OKLaboklab(51.03% 0.0702 -0.1464)
OKLCHoklch(51.03% 0.162 295.6)
XYZxyz(17.8116, 12.0322, 46.1746)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CB7 #93B74C
analogous
#4C5DB7 #704CB7 #A54CB7
triadic
#704CB7 #B7704C #4CB770
tetradic
#704CB7 #B74C5D #93B74C #4CB7A5
square
#704CB7 #B74C5D #93B74C #4CB7A5
split-complementary
#704CB7 #B7A54C #5DB74C
monochromatic
#3B2761 #55398D #704CB7 #9378C9 #B6A3DA

Accessibility & contrast

On white

6.16
#704CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#704CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CB7
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CB7#FFFFFF#000000##FFFFFF
##704CB71.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C62BB
Deuteranopia (green-blind)
#1F60B5
Tritanopia (blue-blind)
#5F637A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #704cb7;
/* rgb */ color: rgb(112, 76, 183);
/* oklch */ color: oklch(51.0% 0.162 295.6);
Tailwind
colors: {
  custom: {
    50: '#9e7fcd',
    500: '#704cb7',
    950: '#000000',
  },
}
SCSS
$custom: #704cb7;
$custom-light: #9e7fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#704cb7",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 183
  },
  "hsl": {
    "h": 260.187,
    "s": 42.629,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51027,
    "c": 0.16238,
    "h": 295.6
  },
  "luminance": 0.12033
}

Semantic roles & 50–950 ramp

primary
#704CB7
secondary
#B7C798
accent
#D255A8
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #704CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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