#704FCD#704FCD

#704FCD is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.1% C 0.186 H 290.7°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#704FCD
RGBrgb(112, 79, 205)
HSLhsl(256, 56%, 56%)
HSVhsv(256, 61%, 80%)
CMYKcmyk(45.4%, 61.5%, 0%, 19.6%)
CIE-LABlab(43.42, 43.69, -60.84)
CIE-LCHlch(43.42, 74.90, 305.68°)
OKLaboklab(53.08% 0.0658 -0.1738)
OKLCHoklch(53.08% 0.186 290.7)
XYZxyz(20.4944, 13.4438, 59.2608)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FCD #ACCD4F
analogous
#4F6DCD #704FCD #AF4FCD
triadic
#704FCD #CD704F #4FCD70
tetradic
#704FCD #CD4F6D #ACCD4F #4FCDAF
square
#704FCD #CD4F6D #ACCD4F #4FCDAF
split-complementary
#704FCD #CDAF4F #6DCD4F
monochromatic
#3B247E #5231AE #704FCD #977FDB #BDAEE8

Accessibility & contrast

On white

5.69
#704FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#704FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FCD
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FCD#FFFFFF#000000##FFFFFF
##704FCD1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#546C87
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #704fcd;
/* rgb */ color: rgb(112, 79, 205);
/* oklch */ color: oklch(53.1% 0.186 290.7);
Tailwind
colors: {
  custom: {
    50: '#a082dd',
    500: '#704fcd',
    950: '#000000',
  },
}
SCSS
$custom: #704fcd;
$custom-light: #a082dd;
$custom-dark: #000000;
JSON
{
  "hex": "#704fcd",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 205
  },
  "hsl": {
    "h": 255.714,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53084,
    "c": 0.18587,
    "h": 290.7
  },
  "luminance": 0.13444
}

Semantic roles & 50–950 ramp

primary
#704FCD
secondary
#C8D6A2
accent
#DF49B8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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