#704BC2#704BC2

#704BC2 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.7% C 0.178 H 293.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#704BC2
RGBrgb(112, 75, 194)
HSLhsl(259, 49%, 53%)
HSVhsv(259, 61%, 76%)
CMYKcmyk(42.3%, 61.3%, 0%, 23.9%)
CIE-LABlab(41.80, 42.87, -57.09)
CIE-LCHlch(41.80, 71.40, 306.90°)
OKLaboklab(51.65% 0.0709 -0.1628)
OKLCHoklch(51.65% 0.178 293.5)
XYZxyz(18.9331, 12.3714, 52.4189)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BC2 #9DC24B
analogous
#4B62C2 #704BC2 #AB4BC2
triadic
#704BC2 #C2704B #4BC270
tetradic
#704BC2 #C24B62 #9DC24B #4BC2AB
square
#704BC2 #C24B62 #9DC24B #4BC2AB
split-complementary
#704BC2 #C2AB4B #62C24B
monochromatic
#3C256D #54359B #704BC2 #9479D1 #B9A6E1

Accessibility & contrast

On white

6.04
#704BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#704BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BC2
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BC2#FFFFFF#000000##FFFFFF
##704BC21.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#5A667F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #704bc2;
/* rgb */ color: rgb(112, 75, 194);
/* oklch */ color: oklch(51.7% 0.178 293.5);
Tailwind
colors: {
  custom: {
    50: '#9f7fd5',
    500: '#704bc2',
    950: '#000000',
  },
}
SCSS
$custom: #704bc2;
$custom-light: #9f7fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#704bc2",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 258.655,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51655,
    "c": 0.1776,
    "h": 293.5
  },
  "luminance": 0.12372
}

Semantic roles & 50–950 ramp

primary
#704BC2
secondary
#BECE9B
accent
#D94FAE
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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