#704BBE#704BBE

#704BBE is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.4% C 0.173 H 294.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#704BBE
RGBrgb(112, 75, 190)
HSLhsl(259, 47%, 52%)
HSVhsv(259, 61%, 75%)
CMYKcmyk(41.1%, 60.5%, 0%, 25.5%)
CIE-LABlab(41.52, 41.77, -55.21)
CIE-LCHlch(41.52, 69.23, 307.11°)
OKLaboklab(51.36% 0.0711 -0.1573)
OKLCHoklch(51.36% 0.173 294.3)
XYZxyz(18.4900, 12.1942, 50.0847)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BBE #99BE4B
analogous
#4B60BE #704BBE #A94BBE
triadic
#704BBE #BE704B #4BBE70
tetradic
#704BBE #BE4B60 #99BE4B #4BBEA9
square
#704BBE #BE4B60 #99BE4B #4BBEA9
split-complementary
#704BBE #BEA94B #60BE4B
monochromatic
#3B2669 #553696 #704BBE #9478CE #B7A5DE

Accessibility & contrast

On white

6.11
#704BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#704BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BBE
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BBE#FFFFFF#000000##FFFFFF
##704BBE1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#0960BC
Tritanopia (blue-blind)
#5C657D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #704bbe;
/* rgb */ color: rgb(112, 75, 190);
/* oklch */ color: oklch(51.4% 0.173 294.3);
Tailwind
colors: {
  custom: {
    50: '#9e7fd2',
    500: '#704bbe',
    950: '#000000',
  },
}
SCSS
$custom: #704bbe;
$custom-light: #9e7fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#704bbe",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 259.304,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51364,
    "c": 0.17262,
    "h": 294.3
  },
  "luminance": 0.12195
}

Semantic roles & 50–950 ramp

primary
#704BBE
secondary
#BBCC99
accent
#D751AC
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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