#704BAB#704BAB

#704BAB is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.0% C 0.149 H 298.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#704BAB
RGBrgb(112, 75, 171)
HSLhsl(263, 39%, 48%)
HSVhsv(263, 56%, 67%)
CMYKcmyk(34.5%, 56.1%, 0%, 32.9%)
CIE-LABlab(40.27, 36.63, -46.04)
CIE-LCHlch(40.27, 58.83, 308.51°)
OKLaboklab(50.05% 0.0713 -0.1303)
OKLCHoklch(50.05% 0.149 298.7)
XYZxyz(16.5471, 11.4170, 39.8521)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BAB #86AB4B
analogous
#4B56AB #704BAB #A04BAB
triadic
#704BAB #AB704B #4BAB70
tetradic
#704BAB #AB4B56 #86AB4B #4BABA0
square
#704BAB #AB4B56 #86AB4B #4BABA0
split-complementary
#704BAB #ABA04B #56AB4B
monochromatic
#382656 #543880 #704BAB #9172C1 #B29DD4

Accessibility & contrast

On white

6.40
#704BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#704BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BAB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BAB#FFFFFF#000000##FFFFFF
##704BAB1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215FAE
Deuteranopia (green-blind)
#2E5EA9
Tritanopia (blue-blind)
#635E74
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #704bab;
/* rgb */ color: rgb(112, 75, 171);
/* oklch */ color: oklch(50.0% 0.149 298.7);
Tailwind
colors: {
  custom: {
    50: '#9c7ec4',
    500: '#704bab',
    950: '#000000',
  },
}
SCSS
$custom: #704bab;
$custom-light: #9c7ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#704bab",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 171
  },
  "hsl": {
    "h": 263.125,
    "s": 39.024,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50049,
    "c": 0.14858,
    "h": 298.7
  },
  "luminance": 0.11417
}

Semantic roles & 50–950 ramp

primary
#704BAB
secondary
#AEC091
accent
#CF59A1
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #704BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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