#704CB8#704CB8

#704CB8 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.1% C 0.164 H 295.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#704CB8
RGBrgb(112, 76, 184)
HSLhsl(260, 43%, 51%)
HSVhsv(260, 59%, 72%)
CMYKcmyk(39.1%, 58.7%, 0%, 27.8%)
CIE-LABlab(41.33, 39.56, -52.00)
CIE-LCHlch(41.33, 65.34, 307.26°)
OKLaboklab(51.1% 0.0701 -0.1478)
OKLCHoklch(51.1% 0.164 295.4)
XYZxyz(17.9160, 12.0740, 46.7247)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CB8 #94B84C
analogous
#4C5EB8 #704CB8 #A64CB8
triadic
#704CB8 #B8704C #4CB870
tetradic
#704CB8 #B84C5E #94B84C #4CB8A6
square
#704CB8 #B84C5E #94B84C #4CB8A6
split-complementary
#704CB8 #B8A64C #5EB84C
monochromatic
#3B2763 #55388E #704CB8 #9378C9 #B6A4DB

Accessibility & contrast

On white

6.15
#704CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#704CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CB8
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CB8#FFFFFF#000000##FFFFFF
##704CB81.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0862BC
Deuteranopia (green-blind)
#1D60B6
Tritanopia (blue-blind)
#5E637B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #704cb8;
/* rgb */ color: rgb(112, 76, 184);
/* oklch */ color: oklch(51.1% 0.164 295.4);
Tailwind
colors: {
  custom: {
    50: '#9e7fce',
    500: '#704cb8',
    950: '#000000',
  },
}
SCSS
$custom: #704cb8;
$custom-light: #9e7fce;
$custom-dark: #000000;
JSON
{
  "hex": "#704cb8",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 184
  },
  "hsl": {
    "h": 260,
    "s": 43.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51097,
    "c": 0.16364,
    "h": 295.4
  },
  "luminance": 0.12074
}

Semantic roles & 50–950 ramp

primary
#704CB8
secondary
#B8C898
accent
#D355A9
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #704CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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