#704FB3#704FB3

#704FB3 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.2% C 0.153 H 295.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#704FB3
RGBrgb(112, 79, 179)
HSLhsl(260, 40%, 51%)
HSVhsv(260, 56%, 70%)
CMYKcmyk(37.4%, 55.9%, 0%, 29.8%)
CIE-LABlab(41.68, 36.46, -48.52)
CIE-LCHlch(41.68, 60.69, 306.92°)
OKLaboklab(51.24% 0.0664 -0.1376)
OKLCHoklch(51.24% 0.153 295.8)
XYZxyz(17.6127, 12.2911, 44.0836)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FB3 #92B34F
analogous
#4F60B3 #704FB3 #A24FB3
triadic
#704FB3 #B3704F #4FB370
tetradic
#704FB3 #B34F60 #92B34F #4FB3A2
square
#704FB3 #B34F60 #92B34F #4FB3A2
split-complementary
#704FB3 #B3A24F #60B34F
monochromatic
#3B295F #553B89 #704FB3 #937AC5 #B5A4D8

Accessibility & contrast

On white

6.07
#704FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#704FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FB3
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FB3#FFFFFF#000000##FFFFFF
##704FB31.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2063B6
Deuteranopia (green-blind)
#2B61B1
Tritanopia (blue-blind)
#606479
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #704fb3;
/* rgb */ color: rgb(112, 79, 179);
/* oklch */ color: oklch(51.2% 0.153 295.8);
Tailwind
colors: {
  custom: {
    50: '#9d81ca',
    500: '#704fb3',
    950: '#000000',
  },
}
SCSS
$custom: #704fb3;
$custom-light: #9d81ca;
$custom-dark: #000000;
JSON
{
  "hex": "#704fb3",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 259.8,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51244,
    "c": 0.15279,
    "h": 295.8
  },
  "luminance": 0.12291
}

Semantic roles & 50–950 ramp

primary
#704FB3
secondary
#B6C599
accent
#D058A8
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #704FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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