#704FDD#704FDD

#704FDD is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.3% C 0.206 H 288.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#704FDD
RGBrgb(112, 79, 221)
HSLhsl(254, 68%, 59%)
HSVhsv(254, 64%, 87%)
CMYKcmyk(49.3%, 64.3%, 0%, 13.3%)
CIE-LABlab(44.60, 48.22, -68.10)
CIE-LCHlch(44.60, 83.44, 305.30°)
OKLaboklab(54.31% 0.0644 -0.1952)
OKLCHoklch(54.31% 0.206 288.3)
XYZxyz(22.5254, 14.2562, 69.9574)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FDD #BCDD4F
analogous
#4F75DD #704FDD #B74FDD
triadic
#704FDD #DD704F #4FDD70
tetradic
#704FDD #DD4F75 #BCDD4F #4FDDB7
square
#704FDD #DD4F75 #BCDD4F #4FDDB7
split-complementary
#704FDD #DDB74F #75DD4F
monochromatic
#391D95 #4C27C8 #704FDD #9A82E7 #C3B6F1

Accessibility & contrast

On white

5.45
#704FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#704FDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FDD
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FDD#FFFFFF#000000##FFFFFF
##704FDD1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE1
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#4A728F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #704fdd;
/* rgb */ color: rgb(112, 79, 221);
/* oklch */ color: oklch(54.3% 0.206 288.3);
Tailwind
colors: {
  custom: {
    50: '#a282e9',
    500: '#704fdd',
    950: '#000000',
  },
}
SCSS
$custom: #704fdd;
$custom-light: #a282e9;
$custom-dark: #000000;
JSON
{
  "hex": "#704fdd",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 253.944,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54305,
    "c": 0.20554,
    "h": 288.3
  },
  "luminance": 0.14257
}

Semantic roles & 50–950 ramp

primary
#704FDD
secondary
#D3E0A8
accent
#EA3DC2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #704FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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