#704BCD#704BCD

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

Color values

HEX#704BCD
RGBrgb(112, 75, 205)
HSLhsl(257, 57%, 55%)
HSVhsv(257, 63%, 80%)
CMYKcmyk(45.4%, 63.4%, 0%, 19.6%)
CIE-LABlab(42.59, 45.92, -62.19)
CIE-LCHlch(42.59, 77.31, 306.44°)
OKLaboklab(52.48% 0.0701 -0.1778)
OKLCHoklch(52.48% 0.191 291.5)
XYZxyz(20.2145, 12.8840, 59.1675)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BCD #A8CD4B
analogous
#4B67CD #704BCD #B14BCD
triadic
#704BCD #CD704B #4BCD70
tetradic
#704BCD #CD4B67 #A8CD4B #4BCDB1
square
#704BCD #CD4B67 #A8CD4B #4BCDB1
split-complementary
#704BCD #CDB14B #67CD4B
monochromatic
#3C227B #5330AB #704BCD #967BDA #BCABE8

Accessibility & contrast

On white

5.87
#704BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#704BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BCD
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BCD#FFFFFF#000000##FFFFFF
##704BCD1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.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: #704bcd;
/* rgb */ color: rgb(112, 75, 205);
/* oklch */ color: oklch(52.5% 0.191 291.5);
Tailwind
colors: {
  custom: {
    50: '#a07fdd',
    500: '#704bcd',
    950: '#000000',
  },
}
SCSS
$custom: #704bcd;
$custom-light: #a07fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#704bcd",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 205
  },
  "hsl": {
    "h": 257.077,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52476,
    "c": 0.19115,
    "h": 291.5
  },
  "luminance": 0.12885
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #704BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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