#704DDD#704DDD

#704DDD is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.0% C 0.208 H 288.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#704DDD
RGBrgb(112, 77, 221)
HSLhsl(255, 68%, 58%)
HSVhsv(255, 65%, 87%)
CMYKcmyk(49.3%, 65.2%, 0%, 13.3%)
CIE-LABlab(44.19, 49.32, -68.76)
CIE-LCHlch(44.19, 84.62, 305.65°)
OKLaboklab(54.01% 0.0664 -0.1971)
OKLCHoklch(54.01% 0.208 288.6)
XYZxyz(22.3833, 13.9720, 69.9101)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DDD #BADD4D
analogous
#4D72DD #704DDD #B84DDD
triadic
#704DDD #DD704D #4DDD70
tetradic
#704DDD #DD4D72 #BADD4D #4DDDB8
square
#704DDD #DD4D72 #BADD4D #4DDDB8
split-complementary
#704DDD #DDB84D #72DD4D
monochromatic
#391C93 #4D26C7 #704DDD #9980E7 #C3B4F1

Accessibility & contrast

On white

5.53
#704DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#704DDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DDD
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DDD#FFFFFF#000000##FFFFFF
##704DDD1.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE1
Deuteranopia (green-blind)
#0065DA
Tritanopia (blue-blind)
#4A708E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #704ddd;
/* rgb */ color: rgb(112, 77, 221);
/* oklch */ color: oklch(54.0% 0.208 288.6);
Tailwind
colors: {
  custom: {
    50: '#a281e9',
    500: '#704ddd',
    950: '#000000',
  },
}
SCSS
$custom: #704ddd;
$custom-light: #a281e9;
$custom-dark: #000000;
JSON
{
  "hex": "#704ddd",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 221
  },
  "hsl": {
    "h": 254.583,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54012,
    "c": 0.208,
    "h": 288.6
  },
  "luminance": 0.13973
}

Semantic roles & 50–950 ramp

primary
#704DDD
secondary
#D2DFA6
accent
#EB3DC1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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