#704BC3#704BC3

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

Color values

HEX#704BC3
RGBrgb(112, 75, 195)
HSLhsl(259, 50%, 53%)
HSVhsv(259, 62%, 76%)
CMYKcmyk(42.6%, 61.5%, 0%, 23.5%)
CIE-LABlab(41.87, 43.15, -57.56)
CIE-LCHlch(41.87, 71.94, 306.85°)
OKLaboklab(51.73% 0.0709 -0.1642)
OKLCHoklch(51.73% 0.179 293.3)
XYZxyz(19.0458, 12.4165, 53.0123)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BC3 #9EC34B
analogous
#4B62C3 #704BC3 #AC4BC3
triadic
#704BC3 #C3704B #4BC370
tetradic
#704BC3 #C34B62 #9EC34B #4BC3AC
square
#704BC3 #C34B62 #9EC34B #4BC3AC
split-complementary
#704BC3 #C3AC4B #62C34B
monochromatic
#3C256F #54349D #704BC3 #9479D2 #B9A7E2

Accessibility & contrast

On white

6.03
#704BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#704BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BC3
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BC3#FFFFFF#000000##FFFFFF
##704BC31.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#596680
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #704bc3;
/* rgb */ color: rgb(112, 75, 195);
/* oklch */ color: oklch(51.7% 0.179 293.3);
Tailwind
colors: {
  custom: {
    50: '#9f7fd6',
    500: '#704bc3',
    950: '#000000',
  },
}
SCSS
$custom: #704bc3;
$custom-light: #9f7fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#704bc3",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 195
  },
  "hsl": {
    "h": 258.5,
    "s": 50,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51728,
    "c": 0.17885,
    "h": 293.3
  },
  "luminance": 0.12417
}

Semantic roles & 50–950 ramp

primary
#704BC3
secondary
#BFCF9B
accent
#DA4EAF
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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