#704DB5#704DB5

#704DB5 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.0% C 0.158 H 295.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#704DB5
RGBrgb(112, 77, 181)
HSLhsl(260, 41%, 51%)
HSVhsv(260, 57%, 71%)
CMYKcmyk(38.1%, 57.5%, 0%, 29%)
CIE-LABlab(41.36, 38.16, -50.21)
CIE-LCHlch(41.36, 63.06, 307.24°)
OKLaboklab(51.05% 0.0689 -0.1426)
OKLCHoklch(51.05% 0.158 295.8)
XYZxyz(17.6743, 12.0884, 45.1092)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DB5 #92B54D
analogous
#4D5EB5 #704DB5 #A44DB5
triadic
#704DB5 #B5704D #4DB570
tetradic
#704DB5 #B54D5E #92B54D #4DB5A4
square
#704DB5 #B54D5E #92B54D #4DB5A4
split-complementary
#704DB5 #B5A44D #5EB54D
monochromatic
#3B2860 #553A8B #704DB5 #9378C7 #B5A3D9

Accessibility & contrast

On white

6.14
#704DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#704DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DB5
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DB5#FFFFFF#000000##FFFFFF
##704DB51.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1662B8
Deuteranopia (green-blind)
#2460B3
Tritanopia (blue-blind)
#5F6379
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #704db5;
/* rgb */ color: rgb(112, 77, 181);
/* oklch */ color: oklch(51.0% 0.158 295.8);
Tailwind
colors: {
  custom: {
    50: '#9d80cc',
    500: '#704db5',
    950: '#000000',
  },
}
SCSS
$custom: #704db5;
$custom-light: #9d80cc;
$custom-dark: #000000;
JSON
{
  "hex": "#704db5",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 181
  },
  "hsl": {
    "h": 260.192,
    "s": 41.27,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5105,
    "c": 0.15836,
    "h": 295.8
  },
  "luminance": 0.12089
}

Semantic roles & 50–950 ramp

primary
#704DB5
secondary
#B6C698
accent
#D157A8
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #704DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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