#704BBD#704BBD

#704BBD is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.3% C 0.171 H 294.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#704BBD
RGBrgb(112, 75, 189)
HSLhsl(259, 46%, 52%)
HSVhsv(259, 60%, 74%)
CMYKcmyk(40.7%, 60.3%, 0%, 25.9%)
CIE-LABlab(41.45, 41.49, -54.74)
CIE-LCHlch(41.45, 68.69, 307.17°)
OKLaboklab(51.29% 0.0712 -0.1559)
OKLCHoklch(51.29% 0.171 294.5)
XYZxyz(18.3810, 12.1506, 49.5111)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BBD #98BD4B
analogous
#4B5FBD #704BBD #A94BBD
triadic
#704BBD #BD704B #4BBD70
tetradic
#704BBD #BD4B5F #98BD4B #4BBDA9
square
#704BBD #BD4B5F #98BD4B #4BBDA9
split-complementary
#704BBD #BDA94B #5FBD4B
monochromatic
#3B2668 #553694 #704BBD #9478CD #B7A5DE

Accessibility & contrast

On white

6.12
#704BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#704BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BBD
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BBD#FFFFFF#000000##FFFFFF
##704BBD1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#0D60BB
Tritanopia (blue-blind)
#5C647D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #704bbd;
/* rgb */ color: rgb(112, 75, 189);
/* oklch */ color: oklch(51.3% 0.171 294.5);
Tailwind
colors: {
  custom: {
    50: '#9e7fd2',
    500: '#704bbd',
    950: '#000000',
  },
}
SCSS
$custom: #704bbd;
$custom-light: #9e7fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#704bbd",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 259.474,
    "s": 46.341,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51292,
    "c": 0.17138,
    "h": 294.5
  },
  "luminance": 0.12151
}

Semantic roles & 50–950 ramp

primary
#704BBD
secondary
#BBCB99
accent
#D652AB
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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