#704CAF#704CAF

#704CAF is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.5% C 0.152 H 297.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#704CAF
RGBrgb(112, 76, 175)
HSLhsl(262, 39%, 49%)
HSVhsv(262, 57%, 69%)
CMYKcmyk(36%, 56.6%, 0%, 31.4%)
CIE-LABlab(40.75, 37.12, -47.64)
CIE-LCHlch(40.75, 60.40, 307.92°)
OKLaboklab(50.48% 0.0701 -0.135)
OKLCHoklch(50.48% 0.152 297.4)
XYZxyz(17.0025, 11.7085, 41.9133)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CAF #8BAF4C
analogous
#4C5AAF #704CAF #A24CAF
triadic
#704CAF #AF704C #4CAF70
tetradic
#704CAF #AF4C5A #8BAF4C #4CAFA2
square
#704CAF #AF4C5A #8BAF4C #4CAFA2
split-complementary
#704CAF #AFA24C #5AAF4C
monochromatic
#39275A #553984 #704CAF #9175C3 #B3A0D6

Accessibility & contrast

On white

6.28
#704CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#704CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CAF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CAF#FFFFFF#000000##FFFFFF
##704CAF1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E60B2
Deuteranopia (green-blind)
#2B5FAD
Tritanopia (blue-blind)
#626076
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #704caf;
/* rgb */ color: rgb(112, 76, 175);
/* oklch */ color: oklch(50.5% 0.152 297.4);
Tailwind
colors: {
  custom: {
    50: '#9d7fc7',
    500: '#704caf',
    950: '#000000',
  },
}
SCSS
$custom: #704caf;
$custom-light: #9d7fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#704caf",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 261.818,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5048,
    "c": 0.15217,
    "h": 297.4
  },
  "luminance": 0.11709
}

Semantic roles & 50–950 ramp

primary
#704CAF
secondary
#B2C294
accent
#CF58A4
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #704CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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