#704DCB#704DCB

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

Color values

HEX#704DCB
RGBrgb(112, 77, 203)
HSLhsl(257, 55%, 55%)
HSVhsv(257, 62%, 80%)
CMYKcmyk(44.8%, 62.1%, 0%, 20.4%)
CIE-LABlab(42.86, 44.25, -60.60)
CIE-LCHlch(42.86, 75.03, 306.14°)
OKLaboklab(52.63% 0.0681 -0.1731)
OKLCHoklch(52.63% 0.186 291.5)
XYZxyz(20.1125, 13.0636, 57.9502)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DCB #A8CB4D
analogous
#4D69CB #704DCB #AF4DCB
triadic
#704DCB #CB704D #4DCB70
tetradic
#704DCB #CB4D69 #A8CB4D #4DCBAF
square
#704DCB #CB4D69 #A8CB4D #4DCBAF
split-complementary
#704DCB #CBAF4D #69CB4D
monochromatic
#3C247A #5331A9 #704DCB #967CD9 #BCACE7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##704DCB#FFFFFF#000000##FFFFFF
##704DCB1.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)
#0067CF
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#556A85
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #704dcb;
/* rgb */ color: rgb(112, 77, 203);
/* oklch */ color: oklch(52.6% 0.186 291.5);
Tailwind
colors: {
  custom: {
    50: '#a080dc',
    500: '#704dcb',
    950: '#000000',
  },
}
SCSS
$custom: #704dcb;
$custom-light: #a080dc;
$custom-dark: #000000;
JSON
{
  "hex": "#704dcb",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 256.667,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52627,
    "c": 0.18605,
    "h": 291.5
  },
  "luminance": 0.13064
}

Semantic roles & 50–950 ramp

primary
#704DCB
secondary
#C6D49F
accent
#DE4AB5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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