#704EB0#704EB0

#704EB0 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.9% C 0.150 H 296.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#704EB0
RGBrgb(112, 78, 176)
HSLhsl(261, 39%, 50%)
HSVhsv(261, 56%, 69%)
CMYKcmyk(36.4%, 55.7%, 0%, 31%)
CIE-LABlab(41.26, 36.23, -47.42)
CIE-LCHlch(41.26, 59.67, 307.38°)
OKLaboklab(50.88% 0.0676 -0.1344)
OKLCHoklch(50.88% 0.15 296.7)
XYZxyz(17.2410, 12.0278, 42.4791)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EB0 #8EB04E
analogous
#4E5DB0 #704EB0 #A14EB0
triadic
#704EB0 #B0704E #4EB070
tetradic
#704EB0 #B04E5D #8EB04E #4EB0A1
square
#704EB0 #B04E5D #8EB04E #4EB0A1
split-complementary
#704EB0 #B0A14E #5DB04E
monochromatic
#3A285B #553B86 #704EB0 #9278C3 #B4A2D6

Accessibility & contrast

On white

6.17
#704EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #704EB0
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EB0#FFFFFF#000000##FFFFFF
##704EB01.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2262B3
Deuteranopia (green-blind)
#2D60AE
Tritanopia (blue-blind)
#616277
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #704eb0;
/* rgb */ color: rgb(112, 78, 176);
/* oklch */ color: oklch(50.9% 0.150 296.7);
Tailwind
colors: {
  custom: {
    50: '#9d81c8',
    500: '#704eb0',
    950: '#000000',
  },
}
SCSS
$custom: #704eb0;
$custom-light: #9d81c8;
$custom-dark: #000000;
JSON
{
  "hex": "#704eb0",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 176
  },
  "hsl": {
    "h": 260.816,
    "s": 38.583,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50877,
    "c": 0.15041,
    "h": 296.7
  },
  "luminance": 0.12028
}

Semantic roles & 50–950 ramp

primary
#704EB0
secondary
#B4C397
accent
#CF59A6
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #704EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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