#704BB5#704BB5

#704BB5 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.7% C 0.161 H 296.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#704BB5
RGBrgb(112, 75, 181)
HSLhsl(261, 42%, 50%)
HSVhsv(261, 59%, 71%)
CMYKcmyk(38.1%, 58.6%, 0%, 29%)
CIE-LABlab(40.92, 39.31, -50.91)
CIE-LCHlch(40.92, 64.32, 307.67°)
OKLaboklab(50.73% 0.0714 -0.1446)
OKLCHoklch(50.73% 0.161 296.3)
XYZxyz(17.5365, 11.8128, 45.0633)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BB5 #90B54B
analogous
#4B5BB5 #704BB5 #A54BB5
triadic
#704BB5 #B5704B #4BB570
tetradic
#704BB5 #B54B5B #90B54B #4BB5A5
square
#704BB5 #B54B5B #90B54B #4BB5A5
split-complementary
#704BB5 #B5A54B #5BB54B
monochromatic
#3A275F #55398A #704BB5 #9276C7 #B5A2D9

Accessibility & contrast

On white

6.25
#704BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#704BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BB5
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BB5#FFFFFF#000000##FFFFFF
##704BB51.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D61B8
Deuteranopia (green-blind)
#205FB3
Tritanopia (blue-blind)
#5F6279
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #704bb5;
/* rgb */ color: rgb(112, 75, 181);
/* oklch */ color: oklch(50.7% 0.161 296.3);
Tailwind
colors: {
  custom: {
    50: '#9d7fcc',
    500: '#704bb5',
    950: '#000000',
  },
}
SCSS
$custom: #704bb5;
$custom-light: #9d7fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#704bb5",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 260.943,
    "s": 41.732,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50728,
    "c": 0.1613,
    "h": 296.3
  },
  "luminance": 0.11813
}

Semantic roles & 50–950 ramp

primary
#704BB5
secondary
#B5C696
accent
#D256A7
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #704BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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