#704DB1#704DB1

#704DB1 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.8% C 0.153 H 296.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#704DB1
RGBrgb(112, 77, 177)
HSLhsl(261, 39%, 50%)
HSVhsv(261, 56%, 69%)
CMYKcmyk(36.7%, 56.5%, 0%, 30.6%)
CIE-LABlab(41.10, 37.08, -48.26)
CIE-LCHlch(41.10, 60.86, 307.53°)
OKLaboklab(50.78% 0.0689 -0.1369)
OKLCHoklch(50.78% 0.153 296.7)
XYZxyz(17.2698, 11.9266, 42.9786)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DB1 #8EB14D
analogous
#4D5CB1 #704DB1 #A24DB1
triadic
#704DB1 #B1704D #4DB170
tetradic
#704DB1 #B14D5C #8EB14D #4DB1A2
square
#704DB1 #B14D5C #8EB14D #4DB1A2
split-complementary
#704DB1 #B1A24D #5CB14D
monochromatic
#3A285C #553A86 #704DB1 #9277C4 #B4A2D6

Accessibility & contrast

On white

6.20
#704DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#704DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DB1
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DB1#FFFFFF#000000##FFFFFF
##704DB11.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E61B4
Deuteranopia (green-blind)
#2A60AF
Tritanopia (blue-blind)
#616277
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #704db1;
/* rgb */ color: rgb(112, 77, 177);
/* oklch */ color: oklch(50.8% 0.153 296.7);
Tailwind
colors: {
  custom: {
    50: '#9d80c9',
    500: '#704db1',
    950: '#000000',
  },
}
SCSS
$custom: #704db1;
$custom-light: #9d80c9;
$custom-dark: #000000;
JSON
{
  "hex": "#704db1",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 177
  },
  "hsl": {
    "h": 261,
    "s": 39.37,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50779,
    "c": 0.15322,
    "h": 296.7
  },
  "luminance": 0.11927
}

Semantic roles & 50–950 ramp

primary
#704DB1
secondary
#B4C496
accent
#CF59A6
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #704DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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