#704BD7#704BD7

#704BD7 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.2% C 0.203 H 289.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#704BD7
RGBrgb(112, 75, 215)
HSLhsl(256, 64%, 57%)
HSVhsv(256, 65%, 84%)
CMYKcmyk(47.9%, 65.1%, 0%, 15.7%)
CIE-LABlab(43.33, 48.72, -66.73)
CIE-LCHlch(43.33, 82.62, 306.13°)
OKLaboklab(53.25% 0.0691 -0.1911)
OKLCHoklch(53.25% 0.203 289.9)
XYZxyz(21.4604, 13.3823, 65.7291)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BD7 #B2D74B
analogous
#4B6CD7 #704BD7 #B64BD7
triadic
#704BD7 #D7704B #4BD770
tetradic
#704BD7 #D74B6C #B2D74B #4BD7B6
square
#704BD7 #D74B6C #B2D74B #4BD7B6
split-complementary
#704BD7 #D7B64B #6CD74B
monochromatic
#3B1E89 #502ABB #704BD7 #987DE2 #C0AFED

Accessibility & contrast

On white

5.71
#704BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#704BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BD7
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BD7#FFFFFF#000000##FFFFFF
##704BD71.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#0063D4
Tritanopia (blue-blind)
#4E6D8A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #704bd7;
/* rgb */ color: rgb(112, 75, 215);
/* oklch */ color: oklch(53.2% 0.203 289.9);
Tailwind
colors: {
  custom: {
    50: '#a17fe4',
    500: '#704bd7',
    950: '#000000',
  },
}
SCSS
$custom: #704bd7;
$custom-light: #a17fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#704bd7",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 255.857,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53249,
    "c": 0.20324,
    "h": 289.9
  },
  "luminance": 0.13383
}

Semantic roles & 50–950 ramp

primary
#704BD7
secondary
#CCDBA2
accent
#E741BB
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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