#704CB6#704CB6

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

Color values

HEX#704CB6
RGBrgb(112, 76, 182)
HSLhsl(260, 42%, 51%)
HSVhsv(260, 58%, 71%)
CMYKcmyk(38.5%, 58.2%, 0%, 28.6%)
CIE-LABlab(41.20, 39.01, -51.04)
CIE-LCHlch(41.20, 64.24, 307.39°)
OKLaboklab(50.96% 0.0702 -0.145)
OKLCHoklch(50.96% 0.161 295.8)
XYZxyz(17.7078, 11.9907, 45.6284)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CB6 #92B64C
analogous
#4C5DB6 #704CB6 #A54CB6
triadic
#704CB6 #B6704C #4CB670
tetradic
#704CB6 #B64C5D #92B64C #4CB6A5
square
#704CB6 #B64C5D #92B64C #4CB6A5
split-complementary
#704CB6 #B6A54C #5DB64C
monochromatic
#3B2760 #55398C #704CB6 #9377C8 #B5A3D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##704CB6#FFFFFF#000000##FFFFFF
##704CB61.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)
#0F62B9
Deuteranopia (green-blind)
#2160B4
Tritanopia (blue-blind)
#5F6379
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #704cb6;
/* rgb */ color: rgb(112, 76, 182);
/* oklch */ color: oklch(51.0% 0.161 295.8);
Tailwind
colors: {
  custom: {
    50: '#9d7fcc',
    500: '#704cb6',
    950: '#000000',
  },
}
SCSS
$custom: #704cb6;
$custom-light: #9d7fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#704cb6",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 182
  },
  "hsl": {
    "h": 260.377,
    "s": 42.063,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50957,
    "c": 0.16111,
    "h": 295.8
  },
  "luminance": 0.11991
}

Semantic roles & 50–950 ramp

primary
#704CB6
secondary
#B6C697
accent
#D256A8
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #704CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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