#704CC7#704CC7

#704CC7 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.2% C 0.182 H 292.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#704CC7
RGBrgb(112, 76, 199)
HSLhsl(258, 52%, 54%)
HSVhsv(258, 62%, 78%)
CMYKcmyk(43.7%, 61.8%, 0%, 22%)
CIE-LABlab(42.36, 43.69, -59.09)
CIE-LCHlch(42.36, 73.49, 306.48°)
OKLaboklab(52.18% 0.0695 -0.1687)
OKLCHoklch(52.18% 0.182 292.4)
XYZxyz(19.5725, 12.7366, 55.4489)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CC7 #A3C74C
analogous
#4C66C7 #704CC7 #AE4CC7
triadic
#704CC7 #C7704C #4CC770
tetradic
#704CC7 #C74C66 #A3C74C #4CC7AE
square
#704CC7 #C74C66 #A3C74C #4CC7AE
split-complementary
#704CC7 #C7AE4C #66C74C
monochromatic
#3C2474 #5433A3 #704CC7 #957BD6 #BAA9E4

Accessibility & contrast

On white

5.92
#704CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#704CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CC7
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CC7#FFFFFF#000000##FFFFFF
##704CC71.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#576882
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #704cc7;
/* rgb */ color: rgb(112, 76, 199);
/* oklch */ color: oklch(52.2% 0.182 292.4);
Tailwind
colors: {
  custom: {
    50: '#9f80d9',
    500: '#704cc7',
    950: '#000000',
  },
}
SCSS
$custom: #704cc7;
$custom-light: #9f80d9;
$custom-dark: #000000;
JSON
{
  "hex": "#704cc7",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 257.561,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52176,
    "c": 0.18244,
    "h": 292.4
  },
  "luminance": 0.12737
}

Semantic roles & 50–950 ramp

primary
#704CC7
secondary
#C2D29D
accent
#DC4CB2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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