#704FC9#704FC9

#704FC9 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.8% C 0.181 H 291.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#704FC9
RGBrgb(112, 79, 201)
HSLhsl(256, 53%, 55%)
HSVhsv(256, 61%, 79%)
CMYKcmyk(44.3%, 60.7%, 0%, 21.2%)
CIE-LABlab(43.14, 42.56, -58.98)
CIE-LCHlch(43.14, 72.74, 305.81°)
OKLaboklab(52.79% 0.0661 -0.1684)
OKLCHoklch(52.79% 0.181 291.4)
XYZxyz(20.0178, 13.2531, 56.7504)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FC9 #A8C94F
analogous
#4F6BC9 #704FC9 #AD4FC9
triadic
#704FC9 #C9704F #4FC970
tetradic
#704FC9 #C94F6B #A8C94F #4FC9AD
square
#704FC9 #C94F6B #A8C94F #4FC9AD
split-complementary
#704FC9 #C9AD4F #6BC94F
monochromatic
#3C2579 #5333A7 #704FC9 #967ED7 #BCADE6

Accessibility & contrast

On white

5.75
#704FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#704FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FC9
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FC9#FFFFFF#000000##FFFFFF
##704FC91.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CD
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#566B84
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #704fc9;
/* rgb */ color: rgb(112, 79, 201);
/* oklch */ color: oklch(52.8% 0.181 291.4);
Tailwind
colors: {
  custom: {
    50: '#9f82da',
    500: '#704fc9',
    950: '#000000',
  },
}
SCSS
$custom: #704fc9;
$custom-light: #9f82da;
$custom-dark: #000000;
JSON
{
  "hex": "#704fc9",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 201
  },
  "hsl": {
    "h": 256.23,
    "s": 53.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52789,
    "c": 0.18087,
    "h": 291.4
  },
  "luminance": 0.13254
}

Semantic roles & 50–950 ramp

primary
#704FC9
secondary
#C6D4A0
accent
#DC4BB5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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