#704CCD#704CCD

#704CCD is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.190 H 291.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#704CCD
RGBrgb(112, 76, 205)
HSLhsl(257, 56%, 55%)
HSVhsv(257, 63%, 80%)
CMYKcmyk(45.4%, 62.9%, 0%, 19.6%)
CIE-LABlab(42.79, 45.37, -61.86)
CIE-LCHlch(42.79, 76.71, 306.26°)
OKLaboklab(52.63% 0.0691 -0.1768)
OKLCHoklch(52.63% 0.19 291.3)
XYZxyz(20.2829, 13.0207, 59.1903)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CCD #A9CD4C
analogous
#4C69CD #704CCD #B04CCD
triadic
#704CCD #CD704C #4CCD70
tetradic
#704CCD #CD4C69 #A9CD4C #4CCDB0
square
#704CCD #CD4C69 #A9CD4C #4CCDB0
split-complementary
#704CCD #CDB04C #69CD4C
monochromatic
#3C237C #5330AC #704CCD #967CDA #BCACE8

Accessibility & contrast

On white

5.83
#704CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#704CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CCD
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CCD#FFFFFF#000000##FFFFFF
##704CCD1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#546A85
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #704ccd;
/* rgb */ color: rgb(112, 76, 205);
/* oklch */ color: oklch(52.6% 0.190 291.3);
Tailwind
colors: {
  custom: {
    50: '#a080dd',
    500: '#704ccd',
    950: '#000000',
  },
}
SCSS
$custom: #704ccd;
$custom-light: #a080dd;
$custom-dark: #000000;
JSON
{
  "hex": "#704ccd",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 256.744,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52626,
    "c": 0.18983,
    "h": 291.3
  },
  "luminance": 0.13021
}

Semantic roles & 50–950 ramp

primary
#704CCD
secondary
#C6D59F
accent
#E048B5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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