#704CC8#704CC8

#704CC8 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.184 H 292.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#704CC8
RGBrgb(112, 76, 200)
HSLhsl(257, 53%, 54%)
HSVhsv(257, 62%, 78%)
CMYKcmyk(44%, 62%, 0%, 21.6%)
CIE-LABlab(42.43, 43.97, -59.55)
CIE-LCHlch(42.43, 74.03, 306.44°)
OKLaboklab(52.25% 0.0694 -0.17)
OKLCHoklch(52.25% 0.184 292.2)
XYZxyz(19.6890, 12.7831, 56.0624)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CC8 #A4C84C
analogous
#4C66C8 #704CC8 #AE4CC8
triadic
#704CC8 #C8704C #4CC870
tetradic
#704CC8 #C84C66 #A4C84C #4CC8AE
square
#704CC8 #C84C66 #A4C84C #4CC8AE
split-complementary
#704CC8 #C8AE4C #66C84C
monochromatic
#3C2475 #5432A4 #704CC8 #957BD6 #BBAAE5

Accessibility & contrast

On white

5.90
#704CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#704CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CC8
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CC8#FFFFFF#000000##FFFFFF
##704CC81.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#576883
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #704cc8;
/* rgb */ color: rgb(112, 76, 200);
/* oklch */ color: oklch(52.3% 0.184 292.2);
Tailwind
colors: {
  custom: {
    50: '#9f80d9',
    500: '#704cc8',
    950: '#000000',
  },
}
SCSS
$custom: #704cc8;
$custom-light: #9f80d9;
$custom-dark: #000000;
JSON
{
  "hex": "#704cc8",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 200
  },
  "hsl": {
    "h": 257.419,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52251,
    "c": 0.18367,
    "h": 292.2
  },
  "luminance": 0.12784
}

Semantic roles & 50–950 ramp

primary
#704CC8
secondary
#C3D29E
accent
#DC4BB2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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