#704CB0#704CB0

#704CB0 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.5% C 0.153 H 297.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#704CB0
RGBrgb(112, 76, 176)
HSLhsl(262, 40%, 49%)
HSVhsv(262, 57%, 69%)
CMYKcmyk(36.4%, 56.8%, 0%, 31%)
CIE-LABlab(40.81, 37.39, -48.13)
CIE-LCHlch(40.81, 60.95, 307.84°)
OKLaboklab(50.55% 0.0702 -0.1365)
OKLCHoklch(50.55% 0.153 297.2)
XYZxyz(17.1010, 11.7480, 42.4325)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CB0 #8CB04C
analogous
#4C5AB0 #704CB0 #A24CB0
triadic
#704CB0 #B0704C #4CB070
tetradic
#704CB0 #B04C5A #8CB04C #4CB0A2
square
#704CB0 #B04C5A #8CB04C #4CB0A2
split-complementary
#704CB0 #B0A24C #5AB04C
monochromatic
#3A275B #553A85 #704CB0 #9276C4 #B4A0D6

Accessibility & contrast

On white

6.27
#704CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#704CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CB0
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CB0#FFFFFF#000000##FFFFFF
##704CB01.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C61B3
Deuteranopia (green-blind)
#2A5FAE
Tritanopia (blue-blind)
#616176
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #704cb0;
/* rgb */ color: rgb(112, 76, 176);
/* oklch */ color: oklch(50.5% 0.153 297.2);
Tailwind
colors: {
  custom: {
    50: '#9d7fc8',
    500: '#704cb0',
    950: '#000000',
  },
}
SCSS
$custom: #704cb0;
$custom-light: #9d7fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#704cb0",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 176
  },
  "hsl": {
    "h": 261.6,
    "s": 39.683,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50547,
    "c": 0.15345,
    "h": 297.2
  },
  "luminance": 0.11748
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #704CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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