#704CC1#704CC1

#704CC1 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.7% C 0.175 H 293.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#704CC1
RGBrgb(112, 76, 193)
HSLhsl(258, 49%, 53%)
HSVhsv(258, 61%, 76%)
CMYKcmyk(42%, 60.6%, 0%, 24.3%)
CIE-LABlab(41.94, 42.03, -56.28)
CIE-LCHlch(41.94, 70.24, 306.75°)
OKLaboklab(51.74% 0.0699 -0.1604)
OKLCHoklch(51.74% 0.175 293.5)
XYZxyz(18.8896, 12.4634, 51.8522)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CC1 #9DC14C
analogous
#4C62C1 #704CC1 #AB4CC1
triadic
#704CC1 #C1704C #4CC170
tetradic
#704CC1 #C14C62 #9DC14C #4CC1AB
square
#704CC1 #C14C62 #9DC14C #4CC1AB
split-complementary
#704CC1 #C1AB4C #62C14C
monochromatic
#3C266D #55359A #704CC1 #9479D1 #B9A7E0

Accessibility & contrast

On white

6.01
#704CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#704CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CC1
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CC1#FFFFFF#000000##FFFFFF
##704CC11.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#0061BE
Tritanopia (blue-blind)
#5A667F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #704cc1;
/* rgb */ color: rgb(112, 76, 193);
/* oklch */ color: oklch(51.7% 0.175 293.5);
Tailwind
colors: {
  custom: {
    50: '#9f80d4',
    500: '#704cc1',
    950: '#000000',
  },
}
SCSS
$custom: #704cc1;
$custom-light: #9f80d4;
$custom-dark: #000000;
JSON
{
  "hex": "#704cc1",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 193
  },
  "hsl": {
    "h": 258.462,
    "s": 48.548,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51737,
    "c": 0.17498,
    "h": 293.5
  },
  "luminance": 0.12464
}

Semantic roles & 50–950 ramp

primary
#704CC1
secondary
#BECE9B
accent
#D850AE
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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