#704CCC#704CCC

#704CCC is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.189 H 291.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#704CCC
RGBrgb(112, 76, 204)
HSLhsl(257, 56%, 55%)
HSVhsv(257, 63%, 80%)
CMYKcmyk(45.1%, 62.7%, 0%, 20%)
CIE-LABlab(42.72, 45.09, -61.40)
CIE-LCHlch(42.72, 76.17, 306.29°)
OKLaboklab(52.55% 0.0691 -0.1755)
OKLCHoklch(52.55% 0.189 291.5)
XYZxyz(20.1626, 12.9726, 58.5566)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CCC #A8CC4C
analogous
#4C68CC #704CCC #B04CCC
triadic
#704CCC #CC704C #4CCC70
tetradic
#704CCC #CC4C68 #A8CC4C #4CCCB0
square
#704CCC #CC4C68 #A8CC4C #4CCCB0
split-complementary
#704CCC #CCB04C #68CC4C
monochromatic
#3C237B #5331AA #704CCC #967CDA #BCABE7

Accessibility & contrast

On white

5.84
#704CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#704CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CCC
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CCC#FFFFFF#000000##FFFFFF
##704CCC1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#556A85
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #704ccc;
/* rgb */ color: rgb(112, 76, 204);
/* oklch */ color: oklch(52.5% 0.189 291.5);
Tailwind
colors: {
  custom: {
    50: '#a080dc',
    500: '#704ccc',
    950: '#000000',
  },
}
SCSS
$custom: #704ccc;
$custom-light: #a080dc;
$custom-dark: #000000;
JSON
{
  "hex": "#704ccc",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 256.875,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5255,
    "c": 0.18861,
    "h": 291.5
  },
  "luminance": 0.12973
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #704CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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