#704FB1#704FB1

#704FB1 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.1% C 0.150 H 296.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#704FB1
RGBrgb(112, 79, 177)
HSLhsl(260, 39%, 50%)
HSVhsv(260, 55%, 69%)
CMYKcmyk(36.7%, 55.4%, 0%, 30.6%)
CIE-LABlab(41.55, 35.91, -47.54)
CIE-LCHlch(41.55, 59.58, 307.07°)
OKLaboklab(51.11% 0.0663 -0.1347)
OKLCHoklch(51.11% 0.15 296.2)
XYZxyz(17.4119, 12.2107, 43.0260)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FB1 #90B14F
analogous
#4F5FB1 #704FB1 #A14FB1
triadic
#704FB1 #B1704F #4FB170
tetradic
#704FB1 #B14F5F #90B14F #4FB1A1
square
#704FB1 #B14F5F #90B14F #4FB1A1
split-complementary
#704FB1 #B1A14F #5FB14F
monochromatic
#3A295D #553C87 #704FB1 #9279C4 #B5A4D7

Accessibility & contrast

On white

6.10
#704FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#704FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FB1
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FB1#FFFFFF#000000##FFFFFF
##704FB11.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2363B4
Deuteranopia (green-blind)
#2D61AF
Tritanopia (blue-blind)
#616378
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #704fb1;
/* rgb */ color: rgb(112, 79, 177);
/* oklch */ color: oklch(51.1% 0.150 296.2);
Tailwind
colors: {
  custom: {
    50: '#9d81c9',
    500: '#704fb1',
    950: '#000000',
  },
}
SCSS
$custom: #704fb1;
$custom-light: #9d81c9;
$custom-dark: #000000;
JSON
{
  "hex": "#704fb1",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 177
  },
  "hsl": {
    "h": 260.204,
    "s": 38.583,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51111,
    "c": 0.15019,
    "h": 296.2
  },
  "luminance": 0.12211
}

Semantic roles & 50–950 ramp

primary
#704FB1
secondary
#B5C498
accent
#CF59A7
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #704FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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