#704DDB#704DDB

#704DDB is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 53.9% C 0.206 H 288.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#704DDB
RGBrgb(112, 77, 219)
HSLhsl(255, 66%, 58%)
HSVhsv(255, 65%, 86%)
CMYKcmyk(48.9%, 64.8%, 0%, 14.1%)
CIE-LABlab(44.04, 48.75, -67.87)
CIE-LCHlch(44.04, 83.56, 305.69°)
OKLaboklab(53.86% 0.0666 -0.1945)
OKLCHoklch(53.86% 0.206 288.9)
XYZxyz(22.1185, 13.8660, 68.5151)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DDB #B8DB4D
analogous
#4D71DB #704DDB #B74DDB
triadic
#704DDB #DB704D #4DDB70
tetradic
#704DDB #DB4D71 #B8DB4D #4DDBB7
square
#704DDB #DB4D71 #B8DB4D #4DDBB7
split-complementary
#704DDB #DBB74D #71DB4D
monochromatic
#3A1D90 #4E27C3 #704DDB #9980E5 #C2B3F0

Accessibility & contrast

On white

5.57
#704DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#704DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DDB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DDB#FFFFFF#000000##FFFFFF
##704DDB1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #704ddb;
/* rgb */ color: rgb(112, 77, 219);
/* oklch */ color: oklch(53.9% 0.206 288.9);
Tailwind
colors: {
  custom: {
    50: '#a181e7',
    500: '#704ddb',
    950: '#000000',
  },
}
SCSS
$custom: #704ddb;
$custom-light: #a181e7;
$custom-dark: #000000;
JSON
{
  "hex": "#704ddb",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 219
  },
  "hsl": {
    "h": 254.789,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53855,
    "c": 0.2056,
    "h": 288.9
  },
  "luminance": 0.13867
}

Semantic roles & 50–950 ramp

primary
#704DDB
secondary
#D0DEA6
accent
#E93FBF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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