#704CCF#704CCF

#704CCF is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.8% C 0.192 H 291.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#704CCF
RGBrgb(112, 76, 207)
HSLhsl(256, 58%, 55%)
HSVhsv(256, 63%, 81%)
CMYKcmyk(45.9%, 63.3%, 0%, 18.8%)
CIE-LABlab(42.94, 45.93, -62.77)
CIE-LCHlch(42.94, 77.78, 306.19°)
OKLaboklab(52.78% 0.0689 -0.1795)
OKLCHoklch(52.78% 0.192 291)
XYZxyz(20.5259, 13.1179, 60.4699)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CCF #ABCF4C
analogous
#4C69CF #704CCF #B24CCF
triadic
#704CCF #CF704C #4CCF70
tetradic
#704CCF #CF4C69 #ABCF4C #4CCFB2
square
#704CCF #CF4C69 #ABCF4C #4CCFB2
split-complementary
#704CCF #CFB24C #69CF4C
monochromatic
#3B227F #522FAF #704CCF #977CDC #BDADE9

Accessibility & contrast

On white

5.80
#704CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#704CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CCF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CCF#FFFFFF#000000##FFFFFF
##704CCF1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#536B87
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #704ccf;
/* rgb */ color: rgb(112, 76, 207);
/* oklch */ color: oklch(52.8% 0.192 291.0);
Tailwind
colors: {
  custom: {
    50: '#a080df',
    500: '#704ccf',
    950: '#000000',
  },
}
SCSS
$custom: #704ccf;
$custom-light: #a080df;
$custom-dark: #000000;
JSON
{
  "hex": "#704ccf",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 207
  },
  "hsl": {
    "h": 256.489,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52778,
    "c": 0.19228,
    "h": 291
  },
  "luminance": 0.13119
}

Semantic roles & 50–950 ramp

primary
#704CCF
secondary
#C8D7A0
accent
#E147B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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