#704DB7#704DB7

#704DB7 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.2% C 0.161 H 295.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#704DB7
RGBrgb(112, 77, 183)
HSLhsl(260, 42%, 51%)
HSVhsv(260, 58%, 72%)
CMYKcmyk(38.8%, 57.9%, 0%, 28.2%)
CIE-LABlab(41.49, 38.71, -51.17)
CIE-LCHlch(41.49, 64.16, 307.11°)
OKLaboklab(51.19% 0.0689 -0.1454)
OKLCHoklch(51.19% 0.161 295.4)
XYZxyz(17.8810, 12.1710, 46.1977)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DB7 #94B74D
analogous
#4D5FB7 #704DB7 #A54DB7
triadic
#704DB7 #B7704D #4DB770
tetradic
#704DB7 #B74D5F #94B74D #4DB7A5
square
#704DB7 #B74D5F #94B74D #4DB7A5
split-complementary
#704DB7 #B7A54D #5FB74D
monochromatic
#3B2862 #55398E #704DB7 #9379C9 #B6A4DA

Accessibility & contrast

On white

6.11
#704DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#704DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DB7
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DB7#FFFFFF#000000##FFFFFF
##704DB71.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1163BA
Deuteranopia (green-blind)
#2160B5
Tritanopia (blue-blind)
#5E647A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #704db7;
/* rgb */ color: rgb(112, 77, 183);
/* oklch */ color: oklch(51.2% 0.161 295.4);
Tailwind
colors: {
  custom: {
    50: '#9d80cd',
    500: '#704db7',
    950: '#000000',
  },
}
SCSS
$custom: #704db7;
$custom-light: #9d80cd;
$custom-dark: #000000;
JSON
{
  "hex": "#704db7",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 183
  },
  "hsl": {
    "h": 259.811,
    "s": 42.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51188,
    "c": 0.16091,
    "h": 295.4
  },
  "luminance": 0.12171
}

Semantic roles & 50–950 ramp

primary
#704DB7
secondary
#B8C798
accent
#D256A9
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #704DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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