#704FB0#704FB0

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

Color values

HEX#704FB0
RGBrgb(112, 79, 176)
HSLhsl(260, 38%, 50%)
HSVhsv(260, 55%, 69%)
CMYKcmyk(36.4%, 55.1%, 0%, 31%)
CIE-LABlab(41.49, 35.64, -47.05)
CIE-LCHlch(41.49, 59.03, 307.14°)
OKLaboklab(51.04% 0.0663 -0.1333)
OKLCHoklch(51.04% 0.149 296.4)
XYZxyz(17.3126, 12.1710, 42.5030)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FB0 #8FB04F
analogous
#4F5FB0 #704FB0 #A04FB0
triadic
#704FB0 #B0704F #4FB070
tetradic
#704FB0 #B04F5F #8FB04F #4FB0A0
square
#704FB0 #B04F5F #8FB04F #4FB0A0
split-complementary
#704FB0 #B0A04F #5FB04F
monochromatic
#3A295C #553C86 #704FB0 #9279C3 #B5A3D6

Accessibility & contrast

On white

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

On black

3.43
#704FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##704FB0#FFFFFF#000000##FFFFFF
##704FB01.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2462B3
Deuteranopia (green-blind)
#2E61AE
Tritanopia (blue-blind)
#616378
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #704fb0;
/* rgb */ color: rgb(112, 79, 176);
/* oklch */ color: oklch(51.0% 0.149 296.4);
Tailwind
colors: {
  custom: {
    50: '#9d81c8',
    500: '#704fb0',
    950: '#000000',
  },
}
SCSS
$custom: #704fb0;
$custom-light: #9d81c8;
$custom-dark: #000000;
JSON
{
  "hex": "#704fb0",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 176
  },
  "hsl": {
    "h": 260.412,
    "s": 38.039,
    "l": 50
  },
  "oklch": {
    "l": 0.51044,
    "c": 0.14889,
    "h": 296.4
  },
  "luminance": 0.12171
}

Semantic roles & 50–950 ramp

primary
#704FB0
secondary
#B4C398
accent
#CE5AA6
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #704FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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