#704FC7#704FC7

#704FC7 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.6% C 0.178 H 291.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#704FC7
RGBrgb(112, 79, 199)
HSLhsl(257, 52%, 55%)
HSVhsv(257, 60%, 78%)
CMYKcmyk(43.7%, 60.3%, 0%, 22%)
CIE-LABlab(43.00, 42.00, -58.05)
CIE-LCHlch(43.00, 71.65, 305.88°)
OKLaboklab(52.64% 0.0662 -0.1656)
OKLCHoklch(52.64% 0.178 291.8)
XYZxyz(19.7840, 13.1596, 55.5194)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FC7 #A6C74F
analogous
#4F6AC7 #704FC7 #AC4FC7
triadic
#704FC7 #C7704F #4FC770
tetradic
#704FC7 #C74F6A #A6C74F #4FC7AC
square
#704FC7 #C74F6A #A6C74F #4FC7AC
split-complementary
#704FC7 #C7AC4F #6AC74F
monochromatic
#3C2676 #5334A4 #704FC7 #967DD6 #BBACE5

Accessibility & contrast

On white

5.78
#704FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#704FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FC7
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FC7#FFFFFF#000000##FFFFFF
##704FC71.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#576A83
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #704fc7;
/* rgb */ color: rgb(112, 79, 199);
/* oklch */ color: oklch(52.6% 0.178 291.8);
Tailwind
colors: {
  custom: {
    50: '#9f82d9',
    500: '#704fc7',
    950: '#000000',
  },
}
SCSS
$custom: #704fc7;
$custom-light: #9f82d9;
$custom-dark: #000000;
JSON
{
  "hex": "#704fc7",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 256.5,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52643,
    "c": 0.17836,
    "h": 291.8
  },
  "luminance": 0.1316
}

Semantic roles & 50–950 ramp

primary
#704FC7
secondary
#C4D2A0
accent
#DB4DB4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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