#704CB1#704CB1

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

Color values

HEX#704CB1
RGBrgb(112, 76, 177)
HSLhsl(261, 40%, 50%)
HSVhsv(261, 57%, 69%)
CMYKcmyk(36.7%, 57.1%, 0%, 30.6%)
CIE-LABlab(40.88, 37.66, -48.62)
CIE-LCHlch(40.88, 61.50, 307.76°)
OKLaboklab(50.62% 0.0702 -0.1379)
OKLCHoklch(50.62% 0.155 297)
XYZxyz(17.2003, 11.7877, 42.9555)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CB1 #8DB14C
analogous
#4C5BB1 #704CB1 #A34CB1
triadic
#704CB1 #B1704C #4CB170
tetradic
#704CB1 #B14C5B #8DB14C #4CB1A3
square
#704CB1 #B14C5B #8DB14C #4CB1A3
split-complementary
#704CB1 #B1A34C #5BB14C
monochromatic
#3A275B #553A86 #704CB1 #9276C4 #B4A1D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##704CB1#FFFFFF#000000##FFFFFF
##704CB11.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)
#1B61B4
Deuteranopia (green-blind)
#285FAF
Tritanopia (blue-blind)
#616177
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #704cb1;
/* rgb */ color: rgb(112, 76, 177);
/* oklch */ color: oklch(50.6% 0.155 297.0);
Tailwind
colors: {
  custom: {
    50: '#9d7fc9',
    500: '#704cb1',
    950: '#000000',
  },
}
SCSS
$custom: #704cb1;
$custom-light: #9d7fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#704cb1",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 177
  },
  "hsl": {
    "h": 261.386,
    "s": 39.921,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50615,
    "c": 0.15473,
    "h": 297
  },
  "luminance": 0.11788
}

Semantic roles & 50–950 ramp

primary
#704CB1
secondary
#B3C395
accent
#D058A5
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #704CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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