#704CCE#704CCE

#704CCE is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.7% C 0.191 H 291.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#704CCE
RGBrgb(112, 76, 206)
HSLhsl(257, 57%, 55%)
HSVhsv(257, 63%, 81%)
CMYKcmyk(45.6%, 63.1%, 0%, 19.2%)
CIE-LABlab(42.87, 45.65, -62.32)
CIE-LCHlch(42.87, 77.25, 306.22°)
OKLaboklab(52.7% 0.069 -0.1782)
OKLCHoklch(52.7% 0.191 291.2)
XYZxyz(20.4040, 13.0692, 59.8281)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CCE #AACE4C
analogous
#4C69CE #704CCE #B14CCE
triadic
#704CCE #CE704C #4CCE70
tetradic
#704CCE #CE4C69 #AACE4C #4CCEB1
square
#704CCE #CE4C69 #AACE4C #4CCEB1
split-complementary
#704CCE #CEB14C #69CE4C
monochromatic
#3B227D #522FAD #704CCE #967CDB #BDACE8

Accessibility & contrast

On white

5.81
#704CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#704CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CCE
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CCE#FFFFFF#000000##FFFFFF
##704CCE1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#536B86
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #704cce;
/* rgb */ color: rgb(112, 76, 206);
/* oklch */ color: oklch(52.7% 0.191 291.2);
Tailwind
colors: {
  custom: {
    50: '#a080de',
    500: '#704cce',
    950: '#000000',
  },
}
SCSS
$custom: #704cce;
$custom-light: #a080de;
$custom-dark: #000000;
JSON
{
  "hex": "#704cce",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 256.615,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52701,
    "c": 0.19106,
    "h": 291.2
  },
  "luminance": 0.1307
}

Semantic roles & 50–950 ramp

primary
#704CCE
secondary
#C7D6A0
accent
#E048B6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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