#704FCC#704FCC

#704FCC is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.0% C 0.185 H 290.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#704FCC
RGBrgb(112, 79, 204)
HSLhsl(256, 55%, 55%)
HSVhsv(256, 61%, 80%)
CMYKcmyk(45.1%, 61.3%, 0%, 20%)
CIE-LABlab(43.35, 43.40, -60.37)
CIE-LCHlch(43.35, 74.36, 305.71°)
OKLaboklab(53.01% 0.0659 -0.1725)
OKLCHoklch(53.01% 0.185 290.9)
XYZxyz(20.3741, 13.3956, 58.6272)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FCC #ABCC4F
analogous
#4F6CCC #704FCC #AE4FCC
triadic
#704FCC #CC704F #4FCC70
tetradic
#704FCC #CC4F6C #ABCC4F #4FCCAE
square
#704FCC #CC4F6C #ABCC4F #4FCCAE
split-complementary
#704FCC #CCAE4F #6CCC4F
monochromatic
#3B247D #5232AC #704FCC #977EDA #BDAEE7

Accessibility & contrast

On white

5.71
#704FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#704FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FCC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FCC#FFFFFF#000000##FFFFFF
##704FCC1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#546C86
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #704fcc;
/* rgb */ color: rgb(112, 79, 204);
/* oklch */ color: oklch(53.0% 0.185 290.9);
Tailwind
colors: {
  custom: {
    50: '#a082dc',
    500: '#704fcc',
    950: '#000000',
  },
}
SCSS
$custom: #704fcc;
$custom-light: #a082dc;
$custom-dark: #000000;
JSON
{
  "hex": "#704fcc",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 255.84,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5301,
    "c": 0.18462,
    "h": 290.9
  },
  "luminance": 0.13396
}

Semantic roles & 50–950 ramp

primary
#704FCC
secondary
#C8D5A1
accent
#DE49B7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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