#704BD9#704BD9

#704BD9 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.4% C 0.206 H 289.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#704BD9
RGBrgb(112, 75, 217)
HSLhsl(256, 65%, 57%)
HSVhsv(256, 65%, 85%)
CMYKcmyk(48.4%, 65.4%, 0%, 14.9%)
CIE-LABlab(43.49, 49.28, -67.63)
CIE-LCHlch(43.49, 83.67, 306.08°)
OKLaboklab(53.41% 0.0688 -0.1938)
OKLCHoklch(53.41% 0.206 289.6)
XYZxyz(21.7190, 13.4858, 67.0908)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BD9 #B4D94B
analogous
#4B6DD9 #704BD9 #B74BD9
triadic
#704BD9 #D9704B #4BD970
tetradic
#704BD9 #D94B6D #B4D94B #4BD9B7
square
#704BD9 #D94B6D #B4D94B #4BD9B7
split-complementary
#704BD9 #D9B74B #6DD94B
monochromatic
#3A1E8C #4F28BF #704BD9 #987EE4 #C0B0EE

Accessibility & contrast

On white

5.68
#704BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#704BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BD9
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BD9#FFFFFF#000000##FFFFFF
##704BD91.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADD
Deuteranopia (green-blind)
#0063D6
Tritanopia (blue-blind)
#4D6E8C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #704bd9;
/* rgb */ color: rgb(112, 75, 217);
/* oklch */ color: oklch(53.4% 0.206 289.6);
Tailwind
colors: {
  custom: {
    50: '#a17fe6',
    500: '#704bd9',
    950: '#000000',
  },
}
SCSS
$custom: #704bd9;
$custom-light: #a17fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#704bd9",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 217
  },
  "hsl": {
    "h": 255.634,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53407,
    "c": 0.20565,
    "h": 289.6
  },
  "luminance": 0.13487
}

Semantic roles & 50–950 ramp

primary
#704BD9
secondary
#CEDDA3
accent
#E840BC
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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