#704FD3#704FD3

#704FD3 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.5% C 0.193 H 289.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#704FD3
RGBrgb(112, 79, 211)
HSLhsl(255, 60%, 57%)
HSVhsv(255, 63%, 83%)
CMYKcmyk(46.9%, 62.6%, 0%, 17.3%)
CIE-LABlab(43.86, 45.38, -63.59)
CIE-LCHlch(43.86, 78.12, 305.52°)
OKLaboklab(53.54% 0.0654 -0.1819)
OKLCHoklch(53.54% 0.193 289.8)
XYZxyz(21.2326, 13.7390, 63.1485)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FD3 #B2D34F
analogous
#4F70D3 #704FD3 #B24FD3
triadic
#704FD3 #D3704F #4FD370
tetradic
#704FD3 #D34F70 #B2D34F #4FD3B2
square
#704FD3 #D34F70 #B2D34F #4FD3B2
split-complementary
#704FD3 #D3B24F #70D34F
monochromatic
#3B2286 #502EB7 #704FD3 #9880DF #C0B1EB

Accessibility & contrast

On white

5.60
#704FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#704FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FD3
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FD3#FFFFFF#000000##FFFFFF
##704FD31.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#506E8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #704fd3;
/* rgb */ color: rgb(112, 79, 211);
/* oklch */ color: oklch(53.5% 0.193 289.8);
Tailwind
colors: {
  custom: {
    50: '#a082e1',
    500: '#704fd3',
    950: '#000000',
  },
}
SCSS
$custom: #704fd3;
$custom-light: #a082e1;
$custom-dark: #000000;
JSON
{
  "hex": "#704fd3",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 255,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53535,
    "c": 0.19332,
    "h": 289.8
  },
  "luminance": 0.1374
}

Semantic roles & 50–950 ramp

primary
#704FD3
secondary
#CCDAA4
accent
#E345BC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #704FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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