#704BAE#704BAE

#704BAE is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.2% C 0.152 H 297.9°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#704BAE
RGBrgb(112, 75, 174)
HSLhsl(262, 40%, 49%)
HSVhsv(262, 57%, 68%)
CMYKcmyk(35.6%, 56.9%, 0%, 31.8%)
CIE-LABlab(40.46, 37.43, -47.51)
CIE-LCHlch(40.46, 60.48, 308.23°)
OKLaboklab(50.25% 0.0714 -0.1347)
OKLCHoklch(50.25% 0.152 297.9)
XYZxyz(16.8363, 11.5327, 41.3752)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BAE #89AE4B
analogous
#4B58AE #704BAE #A24BAE
triadic
#704BAE #AE704B #4BAE70
tetradic
#704BAE #AE4B58 #89AE4B #4BAEA2
square
#704BAE #AE4B58 #89AE4B #4BAEA2
split-complementary
#704BAE #AEA24B #58AE4B
monochromatic
#392658 #543983 #704BAE #9173C3 #B39ED5

Accessibility & contrast

On white

6.35
#704BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#704BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BAE
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BAE#FFFFFF#000000##FFFFFF
##704BAE1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D60B1
Deuteranopia (green-blind)
#2A5EAC
Tritanopia (blue-blind)
#625F75
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #704bae;
/* rgb */ color: rgb(112, 75, 174);
/* oklch */ color: oklch(50.2% 0.152 297.9);
Tailwind
colors: {
  custom: {
    50: '#9d7fc7',
    500: '#704bae',
    950: '#000000',
  },
}
SCSS
$custom: #704bae;
$custom-light: #9d7fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#704bae",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 174
  },
  "hsl": {
    "h": 262.424,
    "s": 39.759,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50249,
    "c": 0.15242,
    "h": 297.9
  },
  "luminance": 0.11533
}

Semantic roles & 50–950 ramp

primary
#704BAE
secondary
#B0C293
accent
#D058A3
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #704BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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