#704BA5#704BA5

#704BA5 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.7% C 0.141 H 300.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#704BA5
RGBrgb(112, 75, 165)
HSLhsl(265, 38%, 47%)
HSVhsv(265, 55%, 65%)
CMYKcmyk(32.1%, 54.5%, 0%, 35.3%)
CIE-LABlab(39.90, 35.04, -43.06)
CIE-LCHlch(39.90, 55.52, 309.14°)
OKLaboklab(49.66% 0.0711 -0.1216)
OKLCHoklch(49.66% 0.141 300.3)
XYZxyz(15.9881, 11.1934, 36.9082)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BA5 #80A54B
analogous
#4B53A5 #704BA5 #9D4BA5
triadic
#704BA5 #A5704B #4BA570
tetradic
#704BA5 #A54B53 #80A54B #4BA59D
square
#704BA5 #A54B53 #80A54B #4BA59D
split-complementary
#704BA5 #A59D4B #53A54B
monochromatic
#372551 #53387B #704BA5 #906FBE #B09AD1

Accessibility & contrast

On white

6.48
#704BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#704BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BA5
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BA5#FFFFFF#000000##FFFFFF
##704BA51.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285EA8
Deuteranopia (green-blind)
#345DA3
Tritanopia (blue-blind)
#655D71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #704ba5;
/* rgb */ color: rgb(112, 75, 165);
/* oklch */ color: oklch(49.7% 0.141 300.3);
Tailwind
colors: {
  custom: {
    50: '#9c7ec0',
    500: '#704ba5',
    950: '#000000',
  },
}
SCSS
$custom: #704ba5;
$custom-light: #9c7ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#704ba5",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 165
  },
  "hsl": {
    "h": 264.667,
    "s": 37.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49657,
    "c": 0.14086,
    "h": 300.3
  },
  "luminance": 0.11194
}

Semantic roles & 50–950 ramp

primary
#704BA5
secondary
#AABD8F
accent
#CD5A9E
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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