#704CC9#704CC9

#704CC9 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.185 H 292.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#704CC9
RGBrgb(112, 76, 201)
HSLhsl(257, 54%, 54%)
HSVhsv(257, 62%, 79%)
CMYKcmyk(44.3%, 62.2%, 0%, 21.2%)
CIE-LABlab(42.51, 44.25, -60.01)
CIE-LCHlch(42.51, 74.56, 306.40°)
OKLaboklab(52.33% 0.0694 -0.1714)
OKLCHoklch(52.33% 0.185 292)
XYZxyz(19.8062, 12.8300, 56.6799)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CC9 #A5C94C
analogous
#4C67C9 #704CC9 #AF4CC9
triadic
#704CC9 #C9704C #4CC970
tetradic
#704CC9 #C94C67 #A5C94C #4CC9AF
square
#704CC9 #C94C67 #A5C94C #4CC9AF
split-complementary
#704CC9 #C9AF4C #67C94C
monochromatic
#3C2477 #5332A6 #704CC9 #967BD7 #BBAAE5

Accessibility & contrast

On white

5.89
#704CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#704CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CC9
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CC9#FFFFFF#000000##FFFFFF
##704CC91.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CD
Deuteranopia (green-blind)
#0062C6
Tritanopia (blue-blind)
#566983
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #704cc9;
/* rgb */ color: rgb(112, 76, 201);
/* oklch */ color: oklch(52.3% 0.185 292.0);
Tailwind
colors: {
  custom: {
    50: '#9f80da',
    500: '#704cc9',
    950: '#000000',
  },
}
SCSS
$custom: #704cc9;
$custom-light: #9f80da;
$custom-dark: #000000;
JSON
{
  "hex": "#704cc9",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 201
  },
  "hsl": {
    "h": 257.28,
    "s": 53.648,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52325,
    "c": 0.18492,
    "h": 292
  },
  "luminance": 0.12831
}

Semantic roles & 50–950 ramp

primary
#704CC9
secondary
#C4D39E
accent
#DD4BB3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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