#704DC3#704DC3

#704DC3 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.0% C 0.176 H 292.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#704DC3
RGBrgb(112, 77, 195)
HSLhsl(258, 50%, 53%)
HSVhsv(258, 61%, 76%)
CMYKcmyk(42.6%, 60.5%, 0%, 23.5%)
CIE-LABlab(42.30, 42.02, -56.87)
CIE-LCHlch(42.30, 70.71, 306.46°)
OKLaboklab(52.04% 0.0686 -0.1622)
OKLCHoklch(52.04% 0.176 292.9)
XYZxyz(19.1836, 12.6921, 53.0583)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DC3 #A0C34D
analogous
#4D65C3 #704DC3 #AB4DC3
triadic
#704DC3 #C3704D #4DC370
tetradic
#704DC3 #C34D65 #A0C34D #4DC3AB
square
#704DC3 #C34D65 #A0C34D #4DC3AB
split-complementary
#704DC3 #C3AB4D #65C34D
monochromatic
#3C2670 #54359E #704DC3 #957BD2 #BAA9E2

Accessibility & contrast

On white

5.93
#704DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#704DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DC3
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DC3#FFFFFF#000000##FFFFFF
##704DC31.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#0062C0
Tritanopia (blue-blind)
#596781
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #704dc3;
/* rgb */ color: rgb(112, 77, 195);
/* oklch */ color: oklch(52.0% 0.176 292.9);
Tailwind
colors: {
  custom: {
    50: '#9f80d6',
    500: '#704dc3',
    950: '#000000',
  },
}
SCSS
$custom: #704dc3;
$custom-light: #9f80d6;
$custom-dark: #000000;
JSON
{
  "hex": "#704dc3",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 195
  },
  "hsl": {
    "h": 257.797,
    "s": 49.58,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52038,
    "c": 0.17609,
    "h": 292.9
  },
  "luminance": 0.12693
}

Semantic roles & 50–950 ramp

primary
#704DC3
secondary
#C0CF9D
accent
#D94FB0
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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