#704BB8#704BB8

#704BB8 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.9% C 0.165 H 295.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#704BB8
RGBrgb(112, 75, 184)
HSLhsl(260, 43%, 51%)
HSVhsv(260, 59%, 72%)
CMYKcmyk(39.1%, 59.2%, 0%, 27.8%)
CIE-LABlab(41.12, 40.13, -52.35)
CIE-LCHlch(41.12, 65.96, 307.47°)
OKLaboklab(50.94% 0.0714 -0.1489)
OKLCHoklch(50.94% 0.165 295.6)
XYZxyz(17.8476, 11.9372, 46.7019)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BB8 #93B84B
analogous
#4B5CB8 #704BB8 #A64BB8
triadic
#704BB8 #B8704B #4BB870
tetradic
#704BB8 #B84B5C #93B84B #4BB8A6
square
#704BB8 #B84B5C #93B84B #4BB8A6
split-complementary
#704BB8 #B8A64B #5CB84B
monochromatic
#3B2762 #55388E #704BB8 #9377C9 #B6A3DB

Accessibility & contrast

On white

6.20
#704BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#704BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BB8
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BB8#FFFFFF#000000##FFFFFF
##704BB81.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0262BC
Deuteranopia (green-blind)
#1B5FB6
Tritanopia (blue-blind)
#5E637A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #704bb8;
/* rgb */ color: rgb(112, 75, 184);
/* oklch */ color: oklch(50.9% 0.165 295.6);
Tailwind
colors: {
  custom: {
    50: '#9e7fce',
    500: '#704bb8',
    950: '#000000',
  },
}
SCSS
$custom: #704bb8;
$custom-light: #9e7fce;
$custom-dark: #000000;
JSON
{
  "hex": "#704bb8",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 184
  },
  "hsl": {
    "h": 260.367,
    "s": 43.426,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50937,
    "c": 0.16509,
    "h": 295.6
  },
  "luminance": 0.11938
}

Semantic roles & 50–950 ramp

primary
#704BB8
secondary
#B7C897
accent
#D355A8
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #704BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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