#704BB9#704BB9

#704BB9 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.0% C 0.166 H 295.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#704BB9
RGBrgb(112, 75, 185)
HSLhsl(260, 44%, 51%)
HSVhsv(260, 59%, 73%)
CMYKcmyk(39.5%, 59.5%, 0%, 27.5%)
CIE-LABlab(41.18, 40.40, -52.83)
CIE-LCHlch(41.18, 66.51, 307.41°)
OKLaboklab(51.01% 0.0713 -0.1503)
OKLCHoklch(51.01% 0.166 295.4)
XYZxyz(17.9528, 11.9793, 47.2559)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BB9 #94B94B
analogous
#4B5DB9 #704BB9 #A74BB9
triadic
#704BB9 #B9704B #4BB970
tetradic
#704BB9 #B94B5D #94B94B #4BB9A7
square
#704BB9 #B94B5D #94B94B #4BB9A7
split-complementary
#704BB9 #B9A74B #5DB94B
monochromatic
#3B2763 #55388F #704BB9 #9377CA #B6A3DB

Accessibility & contrast

On white

6.18
#704BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#704BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BB9
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BB9#FFFFFF#000000##FFFFFF
##704BB91.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BD
Deuteranopia (green-blind)
#1960B7
Tritanopia (blue-blind)
#5E637B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #704bb9;
/* rgb */ color: rgb(112, 75, 185);
/* oklch */ color: oklch(51.0% 0.166 295.4);
Tailwind
colors: {
  custom: {
    50: '#9e7fcf',
    500: '#704bb9',
    950: '#000000',
  },
}
SCSS
$custom: #704bb9;
$custom-light: #9e7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#704bb9",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 185
  },
  "hsl": {
    "h": 260.182,
    "s": 44,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51008,
    "c": 0.16635,
    "h": 295.4
  },
  "luminance": 0.1198
}

Semantic roles & 50–950 ramp

primary
#704BB9
secondary
#B8C898
accent
#D454A9
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #704BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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