#704CB9#704CB9

#704CB9 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.2% C 0.165 H 295.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#704CB9
RGBrgb(112, 76, 185)
HSLhsl(260, 44%, 51%)
HSVhsv(260, 59%, 73%)
CMYKcmyk(39.5%, 58.9%, 0%, 27.5%)
CIE-LABlab(41.40, 39.83, -52.48)
CIE-LCHlch(41.40, 65.89, 307.20°)
OKLaboklab(51.17% 0.0701 -0.1493)
OKLCHoklch(51.17% 0.165 295.2)
XYZxyz(18.0212, 12.1160, 47.2787)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CB9 #95B94C
analogous
#4C5EB9 #704CB9 #A64CB9
triadic
#704CB9 #B9704C #4CB970
tetradic
#704CB9 #B94C5E #95B94C #4CB9A6
square
#704CB9 #B94C5E #95B94C #4CB9A6
split-complementary
#704CB9 #B9A64C #5EB94C
monochromatic
#3B2764 #553890 #704CB9 #9378CA #B6A4DB

Accessibility & contrast

On white

6.13
#704CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #704CB9
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CB9#FFFFFF#000000##FFFFFF
##704CB91.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0463BD
Deuteranopia (green-blind)
#1B60B7
Tritanopia (blue-blind)
#5E647B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #704cb9;
/* rgb */ color: rgb(112, 76, 185);
/* oklch */ color: oklch(51.2% 0.165 295.2);
Tailwind
colors: {
  custom: {
    50: '#9e7fcf',
    500: '#704cb9',
    950: '#000000',
  },
}
SCSS
$custom: #704cb9;
$custom-light: #9e7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#704cb9",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 185
  },
  "hsl": {
    "h": 259.817,
    "s": 43.775,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51167,
    "c": 0.16491,
    "h": 295.2
  },
  "luminance": 0.12116
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #704CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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