#704CB3#704CB3

#704CB3 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.8% C 0.157 H 296.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#704CB3
RGBrgb(112, 76, 179)
HSLhsl(261, 40%, 50%)
HSVhsv(261, 58%, 70%)
CMYKcmyk(37.4%, 57.5%, 0%, 29.8%)
CIE-LABlab(41.01, 38.20, -49.59)
CIE-LCHlch(41.01, 62.60, 307.60°)
OKLaboklab(50.75% 0.0702 -0.1408)
OKLCHoklch(50.75% 0.157 296.5)
XYZxyz(17.4011, 11.8680, 44.0130)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CB3 #8FB34C
analogous
#4C5BB3 #704CB3 #A44CB3
triadic
#704CB3 #B3704C #4CB370
tetradic
#704CB3 #B34C5B #8FB34C #4CB3A4
square
#704CB3 #B34C5B #8FB34C #4CB3A4
split-complementary
#704CB3 #B3A44C #5BB34C
monochromatic
#3A285D #553A88 #704CB3 #9277C5 #B5A2D7

Accessibility & contrast

On white

6.22
#704CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#704CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CB3
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CB3#FFFFFF#000000##FFFFFF
##704CB31.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1761B6
Deuteranopia (green-blind)
#265FB1
Tritanopia (blue-blind)
#606278
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #704cb3;
/* rgb */ color: rgb(112, 76, 179);
/* oklch */ color: oklch(50.8% 0.157 296.5);
Tailwind
colors: {
  custom: {
    50: '#9d7fca',
    500: '#704cb3',
    950: '#000000',
  },
}
SCSS
$custom: #704cb3;
$custom-light: #9d7fca;
$custom-dark: #000000;
JSON
{
  "hex": "#704cb3",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 179
  },
  "hsl": {
    "h": 260.971,
    "s": 40.392,
    "l": 50
  },
  "oklch": {
    "l": 0.50751,
    "c": 0.15729,
    "h": 296.5
  },
  "luminance": 0.11868
}

Semantic roles & 50–950 ramp

primary
#704CB3
secondary
#B4C496
accent
#D058A6
background
#FAF7FC
surface
#F3EEF8
border
#CDC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #704CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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