#704CDB#704CDB

#704CDB is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.7% C 0.207 H 289.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#704CDB
RGBrgb(112, 76, 219)
HSLhsl(255, 67%, 58%)
HSVhsv(255, 65%, 86%)
CMYKcmyk(48.9%, 65.3%, 0%, 14.1%)
CIE-LABlab(43.84, 49.30, -68.19)
CIE-LCHlch(43.84, 84.15, 305.86°)
OKLaboklab(53.71% 0.0676 -0.1955)
OKLCHoklch(53.71% 0.207 289.1)
XYZxyz(22.0490, 13.7272, 68.4919)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CDB #B7DB4C
analogous
#4C6FDB #704CDB #B84CDB
triadic
#704CDB #DB704C #4CDB70
tetradic
#704CDB #DB4C6F #B7DB4C #4CDBB8
square
#704CDB #DB4C6F #B7DB4C #4CDBB8
split-complementary
#704CDB #DBB84C #6FDB4C
monochromatic
#3A1D90 #4E27C3 #704CDB #997FE5 #C1B2EF

Accessibility & contrast

On white

5.61
#704CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#704CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CDB
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CDB#FFFFFF#000000##FFFFFF
##704CDB1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#4B6F8D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #704cdb;
/* rgb */ color: rgb(112, 76, 219);
/* oklch */ color: oklch(53.7% 0.207 289.1);
Tailwind
colors: {
  custom: {
    50: '#a280e7',
    500: '#704cdb',
    950: '#000000',
  },
}
SCSS
$custom: #704cdb;
$custom-light: #a280e7;
$custom-dark: #000000;
JSON
{
  "hex": "#704cdb",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 255.105,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53709,
    "c": 0.20682,
    "h": 289.1
  },
  "luminance": 0.13728
}

Semantic roles & 50–950 ramp

primary
#704CDB
secondary
#D0DEA5
accent
#E93EBE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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