#704DAF#704DAF

#704DAF is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.6% C 0.151 H 297.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#704DAF
RGBrgb(112, 77, 175)
HSLhsl(261, 39%, 49%)
HSVhsv(261, 56%, 69%)
CMYKcmyk(36%, 56%, 0%, 31.4%)
CIE-LABlab(40.97, 36.54, -47.29)
CIE-LCHlch(40.97, 59.76, 307.69°)
OKLaboklab(50.65% 0.0689 -0.134)
OKLCHoklch(50.65% 0.151 297.2)
XYZxyz(17.0719, 11.8474, 41.9365)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DAF #8CAF4D
analogous
#4D5BAF #704DAF #A14DAF
triadic
#704DAF #AF704D #4DAF70
tetradic
#704DAF #AF4D5B #8CAF4D #4DAFA1
square
#704DAF #AF4D5B #8CAF4D #4DAFA1
split-complementary
#704DAF #AFA14D #5BAF4D
monochromatic
#3A285A #553A85 #704DAF #9276C3 #B4A1D6

Accessibility & contrast

On white

6.23
#704DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#704DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DAF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DAF#FFFFFF#000000##FFFFFF
##704DAF1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2161B2
Deuteranopia (green-blind)
#2C5FAD
Tritanopia (blue-blind)
#626176
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #704daf;
/* rgb */ color: rgb(112, 77, 175);
/* oklch */ color: oklch(50.6% 0.151 297.2);
Tailwind
colors: {
  custom: {
    50: '#9d80c7',
    500: '#704daf',
    950: '#000000',
  },
}
SCSS
$custom: #704daf;
$custom-light: #9d80c7;
$custom-dark: #000000;
JSON
{
  "hex": "#704daf",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 261.429,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50645,
    "c": 0.15064,
    "h": 297.2
  },
  "luminance": 0.11848
}

Semantic roles & 50–950 ramp

primary
#704DAF
secondary
#B2C395
accent
#CF59A5
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #704DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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