#704BBA#704BBA

#704BBA is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.1% C 0.168 H 295.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#704BBA
RGBrgb(112, 75, 186)
HSLhsl(260, 45%, 51%)
HSVhsv(260, 60%, 73%)
CMYKcmyk(39.8%, 59.7%, 0%, 27.1%)
CIE-LABlab(41.25, 40.67, -53.31)
CIE-LCHlch(41.25, 67.05, 307.34°)
OKLaboklab(51.08% 0.0713 -0.1517)
OKLCHoklch(51.08% 0.168 295.2)
XYZxyz(18.0588, 12.0217, 47.8138)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BBA #95BA4B
analogous
#4B5DBA #704BBA #A74BBA
triadic
#704BBA #BA704B #4BBA70
tetradic
#704BBA #BA4B5D #95BA4B #4BBAA7
square
#704BBA #BA4B5D #95BA4B #4BBAA7
split-complementary
#704BBA #BAA74B #5DBA4B
monochromatic
#3B2664 #553790 #704BBA #9377CB #B6A3DC

Accessibility & contrast

On white

6.17
#704BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#704BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BBA
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BBA#FFFFFF#000000##FFFFFF
##704BBA1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#1660B8
Tritanopia (blue-blind)
#5D637B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #704bba;
/* rgb */ color: rgb(112, 75, 186);
/* oklch */ color: oklch(51.1% 0.168 295.2);
Tailwind
colors: {
  custom: {
    50: '#9e7fcf',
    500: '#704bba',
    950: '#000000',
  },
}
SCSS
$custom: #704bba;
$custom-light: #9e7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#704bba",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 186
  },
  "hsl": {
    "h": 260,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51079,
    "c": 0.16761,
    "h": 295.2
  },
  "luminance": 0.12022
}

Semantic roles & 50–950 ramp

primary
#704BBA
secondary
#B9C998
accent
#D454A9
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #704BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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