#704FB8#704FB8

#704FB8 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.6% C 0.159 H 294.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#704FB8
RGBrgb(112, 79, 184)
HSLhsl(259, 43%, 52%)
HSVhsv(259, 57%, 72%)
CMYKcmyk(39.1%, 57.1%, 0%, 27.8%)
CIE-LABlab(42.00, 37.83, -50.94)
CIE-LCHlch(42.00, 63.45, 306.60°)
OKLaboklab(51.58% 0.0665 -0.1447)
OKLCHoklch(51.58% 0.159 294.7)
XYZxyz(18.1275, 12.4970, 46.7952)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FB8 #97B84F
analogous
#4F63B8 #704FB8 #A54FB8
triadic
#704FB8 #B8704F #4FB870
tetradic
#704FB8 #B84F63 #97B84F #4FB8A5
square
#704FB8 #B84F63 #97B84F #4FB8A5
split-complementary
#704FB8 #B8A54F #63B84F
monochromatic
#3B2864 #553A90 #704FB8 #937BCA #B7A6DB

Accessibility & contrast

On white

6.00
#704FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#704FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FB8
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FB8#FFFFFF#000000##FFFFFF
##704FB81.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1764BB
Deuteranopia (green-blind)
#2461B6
Tritanopia (blue-blind)
#5E657C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #704fb8;
/* rgb */ color: rgb(112, 79, 184);
/* oklch */ color: oklch(51.6% 0.159 294.7);
Tailwind
colors: {
  custom: {
    50: '#9d81ce',
    500: '#704fb8',
    950: '#000000',
  },
}
SCSS
$custom: #704fb8;
$custom-light: #9d81ce;
$custom-dark: #000000;
JSON
{
  "hex": "#704fb8",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 184
  },
  "hsl": {
    "h": 258.857,
    "s": 42.51,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51583,
    "c": 0.15925,
    "h": 294.7
  },
  "luminance": 0.12497
}

Semantic roles & 50–950 ramp

primary
#704FB8
secondary
#BAC89A
accent
#D256AB
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #704FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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