#704FC0#704FC0

#704FC0 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.1% C 0.169 H 293.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#704FC0
RGBrgb(112, 79, 192)
HSLhsl(258, 47%, 53%)
HSVhsv(258, 59%, 75%)
CMYKcmyk(41.7%, 58.9%, 0%, 24.7%)
CIE-LABlab(42.52, 40.04, -54.76)
CIE-LCHlch(42.52, 67.84, 306.18°)
OKLaboklab(52.14% 0.0664 -0.1559)
OKLCHoklch(52.14% 0.169 293.1)
XYZxyz(18.9899, 12.8420, 51.3372)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FC0 #9FC04F
analogous
#4F66C0 #704FC0 #A84FC0
triadic
#704FC0 #C0704F #4FC070
tetradic
#704FC0 #C04F66 #9FC04F #4FC0A8
square
#704FC0 #C04F66 #9FC04F #4FC0A8
split-complementary
#704FC0 #C0A84F #66C04F
monochromatic
#3C276D #54379A #704FC0 #957CD0 #B9A9E0

Accessibility & contrast

On white

5.88
#704FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #704FC0
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FC0#FFFFFF#000000##FFFFFF
##704FC01.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C4
Deuteranopia (green-blind)
#1362BE
Tritanopia (blue-blind)
#5A6880
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #704fc0;
/* rgb */ color: rgb(112, 79, 192);
/* oklch */ color: oklch(52.1% 0.169 293.1);
Tailwind
colors: {
  custom: {
    50: '#9e82d4',
    500: '#704fc0',
    950: '#000000',
  },
}
SCSS
$custom: #704fc0;
$custom-light: #9e82d4;
$custom-dark: #000000;
JSON
{
  "hex": "#704fc0",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 257.522,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5214,
    "c": 0.16949,
    "h": 293.1
  },
  "luminance": 0.12842
}

Semantic roles & 50–950 ramp

primary
#704FC0
secondary
#C0CE9D
accent
#D751B0
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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