#704BD1#704BD1

#704BD1 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.8% C 0.196 H 290.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#704BD1
RGBrgb(112, 75, 209)
HSLhsl(257, 59%, 56%)
HSVhsv(257, 64%, 82%)
CMYKcmyk(46.4%, 64.1%, 0%, 18%)
CIE-LABlab(42.88, 47.04, -64.02)
CIE-LCHlch(42.88, 79.44, 306.31°)
OKLaboklab(52.78% 0.0697 -0.1832)
OKLCHoklch(52.78% 0.196 290.8)
XYZxyz(20.7036, 13.0796, 61.7430)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BD1 #ACD14B
analogous
#4B69D1 #704BD1 #B34BD1
triadic
#704BD1 #D1704B #4BD170
tetradic
#704BD1 #D14B69 #ACD14B #4BD1B3
square
#704BD1 #D14B69 #ACD14B #4BD1B3
split-complementary
#704BD1 #D1B34B #69D14B
monochromatic
#3B2181 #522DB1 #704BD1 #977CDD #BDACEA

Accessibility & contrast

On white

5.81
#704BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#704BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BD1
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BD1#FFFFFF#000000##FFFFFF
##704BD11.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D5
Deuteranopia (green-blind)
#0062CE
Tritanopia (blue-blind)
#526B87
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #704bd1;
/* rgb */ color: rgb(112, 75, 209);
/* oklch */ color: oklch(52.8% 0.196 290.8);
Tailwind
colors: {
  custom: {
    50: '#a07fe0',
    500: '#704bd1',
    950: '#000000',
  },
}
SCSS
$custom: #704bd1;
$custom-light: #a07fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#704bd1",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 209
  },
  "hsl": {
    "h": 256.567,
    "s": 59.292,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52782,
    "c": 0.196,
    "h": 290.8
  },
  "luminance": 0.1308
}

Semantic roles & 50–950 ramp

primary
#704BD1
secondary
#C8D8A0
accent
#E245B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #704BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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